| Effective interaction between user controls and parent container |
| ASP Alliance |
| In this article I'll cover topics related to the interaction between user controls and parent container (parent page). |
|
| Efficiently Iterating Through Results from a Database Query using ADO.NET |
| ASP.NET - 4GuysFromRolla |
| To display database results through an ASP.NET page, developers no longer need to loop through the results of a database query; instead, they can use databinding and one of the many ASP.NET data Web controls. There are, however, times when a .NET developer does need to loop through database results one at a time. This article examines how to loop through database results using ADO.NET in an ASP.NET Web page. |
|
| Embed a Progressbar in your Statusbar |
| The Code Project |
| Simple subclassed StatusBar |
|
| Embedding a DataGrid in a DataGrid |
| DotNetJunkies |
| Well, first off...thanks for the compliment. Now, let's cut to the chase. What you are asking, adding a TemplateColumn to an embedded DataGrid, can certainly be done. We are going to take a slightly different approach for this however. In this tutorial I will show you how to embed a DataGrid in a DataGrid, with a TemplateColumn in the embedded DataGrid. The design for the embedded DataGrid will actually be done in the Web Form, and we will call a method in our code behind class to populate the embedded DataGrid. |
|
| Encrypt and Hide Sensitive Global Configuration Data |
| Egg Head Cafe |
| One of the biggest concerns of .NET Developers (and their clients) is protecting sensitive configuration data such as usernames and passwords, database connection strings and other global data that needs to be made easily available application - wide. Of course, web.config doesn't normally get served by IIS, provided the default mappings are set in machine.config and not overriden in a local web.config file. But a lot of people I"ve talked to don't feel comfortable having sensitive data in web.config. So of course, the first step would be that we can encrypt the data for starters. |
|
| Error handling in ASP.NET applications |
| DotNetJunkies |
| Even though you take lot of care in designing your application errors do occur. In case of web applications the chances of errors still increase because of its nature. In this article we will see various error handling techniques. Our focus will be on ASP.NET web applications though many of the concepts are applicable to other types of applications as well. Download includes a full sample application! |
|
| Event Firing Order and Session Variables |
| DotNetJunkies |
| When EXACTLY an event is fired? Hi, I am trying to write a page in which I expect the user to postback to the page many times. Therefore, the Page.IsPostBack is not useful in this case. I thought I can get around this problem by storing values in a session. However, I found out that the page wasn't behaving as I expected. It seems to always be "one step behind". |
|
| Event Firing Order and Session Variables |
| DotNetJunkies |
| When EXACTLY an event is fired? I am trying to write a page in which I expect the user to postback to the page many times. Therefore, the Page.IsPostBack is not useful in this case. I thought I can get around this problem by storing values in a Session.
|
|
| Events and Delegates simplified |
| The Code Project |
| This article shows you how to design events for your classes. |
|
| Events and Event Handling in C# |
| The Code Project |
| An event is a mechanism via which a class can notify its clients when something happens. For example when you click a button, a button-click-event notification is sent to the window hosting the button. |
|
| Exception Management in .NET |
| MSDN |
| This document discusses design and implementation guidelines for exception management systems that use .NET technologies. It focuses on the process of handling exceptions within .NET applications in a highly maintainable and supportable manner. |
|
| Exception Reporting with Application Error of Global.asax |
| http://tconsult.com/ |
| The easiest way to catch exceptions and report them is to use the Application_Error Handler of the global.asax file. The Application_Error handler will catch all exceptions in the application by default. The only thing you need to do is deploy it. Your .NET pages do not need any special code added to them to fire it. It will do so by default. |
|
| Exposing Proprietary Data the .NET Way |
| MSDN |
| The .NET Framework comes with the OLE DB managed provider, which is meant to be a bridge that gives you immediate access to all the existing OLE DB providers. This component saves your current investments, as applications can continue successfully calling into existing OLE DB providers. The point, though, is another. In .NET, exposing proprietary data requires a more thoughtful choice, mostly because you have multiple and equally powerful options from which to choose.
|
|
| ExpressPaint |
| MSDN |
| Use C# Express to create an image processing application that's ideal for putting the final touch to your digital photographs. This program is easy to expand with your own unique touches. |
|
| Extender provider components in ASP.NET: an IExtenderProvider implementation |
| The Code Project |
| A workaround for the broken Visual Studio support for extender providers in ASP.NET. |
|
| Extending Explorer with Band Objects using .NET and Windows Forms |
| The Code Project |
| A lot has been already said about extending Windows and Internet Explorer with Band Objects, Browser Bands, Toolbar Bands and Communication Bands. So if you are familiar with COM and ATL you even might have implemented one yourself. Well, in case your were waiting for an easy way to impress your friends with something like Google Toolbar here it is - the .NET way (or should I say Windows Forms and COM Interop way?). In this tutorial I am going to show how to create any of the mentioned above Band Object types with the help of the BandObject control. Later I will also talk about some implementation details of the BandObject. |
|
| File Upload with ASP.NET |
| The Code Project |
| Back in the ASP world uploading files via a web page was a tricky problem. The problem was that due to the encryption type of the form used to submit the file from the clients browser receiving such files on the server side was a complex task. Data had to be retrieved as a safe byte array and decrypted before it could be used. Most of the people resorted to 3rd party DLLs,a few wrote their own DLLs and some even wrote purely ASP solutions to this problem using VBScript. Fortunately for us, .NET Framework SDK comes with a few classes that make uploading of the files simple from the web developer point of view. |
|
| Fill A DataGrid From Access Database |
| ORCS Web |
| The code below demonstrates how to connect to and query a Microsoft Access database then bind those results to an ASP.NET datagrid for display as an HTML table. |
|
| Finite State Machines, Wizards and the Web |
| MSDN |
| Explore a solution for creating Wizards using ASP.NET that step your users through a process. Discover how this feature will become even easier with ASP.NET Whidbey. |
|
| FIX: ASP.NET returns a "NullReferenceException" error message when you use SQL Server Session state and you turn on the OutPutCaching feature |
| http://www.kbalertz.com/ |
| (831382) - When you use the Microsoft SQL Server Session state, and you turn on the OutPutCaching feature for a Web page, if you set the Location attribute to Client (<%@ OutputCache Location="Client" Duration="900" VaryByParam="WaitMessage" %>), a user may... |
|
| FIX: Data Bound User Control Updates Only First Bound Column |
| http://www.kbalertz.com/ |
| When you try to update more than one column of a table by using a bound user control that has multiple bound properties, only the modified data for the first bound property is updated in the table. You may notice this behavior only for the first row... |
|
| FIX: Data Bound User Control Updates Only First Bound Column |
| Microsoft Support |
| When you try to update more than one column of a table by using a bound user control that has multiple bound properties, only the modified data for the first bound property is updated in the table. You may notice this behavior only for the first row... |
|
| FIX: The .NET Framework Managed Provider for OLE DB may not return an Oracle error message if the locale setting is not "en-us" |
| http://www.kbalertz.com/ |
| (326722) - Explains that the .NET Framework Managed Provider for OLE DB may not return an Oracle error message if the locale setting is not "en-us". Requires that you install a hotfix to resolve the problem. |
|
| FIX: When You Call the Response.ClearHeaders Method in a Custom HTTPmodule, Extra Characters Are Appended to the Output |
| http://www.kbalertz.com/ |
| (812686) - When you call the Response.ClearHeaders method in a custom HTTPModule that is registered with PreSendRequestHeaders, extra characters are returned. This problem occurs only on the first request or the first time that you make this call after you... |
|
| FIX: You receive a "Multiple controls with the same ID" error message when you dynamically add cached user controls to Webforms |
| http://www.kbalertz.com/ |
| (834608) - When you dynamically add cached user controls to an Webform, you receive an error message that is similar to the following when you browse to the Web page: Multiple controls with the same ID '_909b6e15b33' were found. FindControl requires that... |
|