|
Persistent session state
|
Total Hit (2722) |
In ASP.NET 1.0 you have the option to maintain the session state on an external process, in SQL Server, by setting the mode attribute of the sessionState tag in web.config to SQLServer. The problem is that the data is stored in the SQL Server's Temp database, and thus the data is lost if the SQL Ser
....Read More |
Rating
|
|
|
Input validation in ASP.NET 1.1
|
Total Hit (2632) |
ASP.NET 1.1 automatically validates input posted to the server against a list of potentially dangerous strings (the values are hard-coded, unfortunately, it would have been nice to be able to edit this list). For example, by default it prevents the user to submit text that contains "<script>", to pr
....Read More |
Rating
|
|
|
Binding SQL Data to a DataGrid
|
Total Hit (1900) |
The DataGrid control supports a DataSource property that takes an IEnumerable or ICollection, as well as a DataSet. You can use a DataSet by assigning the DefaultView property of a table contained in the DataSet to the name of the table you wish to use within the DataSet. The DefaultView property re
....Read More |
Rating
|
|
|
Centralize ASP.NET settings in one file
|
Total Hit (1794) |
Although ASP.NET lets you distribute web.config files over all the application's subdirectories, it surely doesn't force you to do so. You can keep all the application settings in its main web.config file, while enforcing different settings on a directory-by-directory base, if you want. The key to t
....Read More |
Rating
|
|
|
|
Highlighting Rows in an ASP.Net DataGrid
|
Total Hit (594) |
I like the idea of highlighting rows in a DataGrid as the user scrolls the mouse up and down over the grid. The effect can be achieved using several lines of client-side JavaScript, but why do that when two lines of .Net code will accomplish the same thing? The trick is to implement an ItemDataBound
....Read More |
Rating
|
|
|
|
|
Using Session and Application Objects in ASP .NET
|
Total Hit (800) |
The Web Forms model is the Web adaptation of the traditional Visual Basic® form-based interaction model. In this model, user activity produces input for processing modules that can reside either locally or remotely. In Visual Basic-based applications, the input is processed synchronously and with fu
....Read More |
Rating
|
|
|
|
Error Handling in ASP.NET
|
Total Hit (491) |
In anything but the simplest of cases your application will contain errors. You should identify where errors might be likely to occur and code to anticpate and handle them gracefully.
|
Rating
|
|
|
|
|
|
SWAT - A simple Web-based Anomalies Tracker - Part 1
|
Total Hit (980) |
As a great philosopher of our times has so eloquently put it, it’s “deja vu all over again“. Remember OLE? Remember COM? Technologies which in their turn, was each supposed to be the foundation for everything to come from Microsoft. Remember how hard it was to understand them? Worse yet, implement t
....Read More |
Rating
|
|
|
|
|
|
|
Using the CustomValidator Control
|
Total Hit (2695) |
One annoying task that most every developer has had to face in the past is form validation. Since forms are an integral part of dynamic, data-driven Web sites, it is essential that a user's query into a form fit the specified guidelines. For example, in a Web site like Amazon.com where users are ent
....Read More |
Rating
|
|
|
|
How Do I...Receive asynchronously?
|
Total Hit (704) |
Message queuing makes it easy for application developers to communicate with application programs quickly and reliably by sending and receiving messages. Messaging provides you with guaranteed message delivery and a robust, fail-safe way to carry out many of your business processes.
....Read More |
Rating
|
|
|
A Managed C++ Email Validator Control for ASP.NET
|
Total Hit (770) |
An ASP.NET Validator Control implemented in Managed C++ that can be used to verify email addresses by connecting to SMTP servers listed as Mail eXchangers for a domain, includes example of Win32 API Interoperability with C++ .NET. The validation is not RegEx based.
....Read More |
Rating
|
|
|
|
Exporting DataGrids to Excel
|
Total Hit (2121) |
Ken Walker's article on exporting DataSets to Excel has proved very popular. This article by Mike Dolan presents a different technique for getting a DataGrid rather than the DataSet into Excel. We believe you will find it very useful.
|
Rating
|
|
|
|
Riverside Internet Forums
|
Total Hit (987) |
A set of ASP.NET custom controls that allow forums to be quickly added to a website.
|
Rating
|
|
|
|
|