devxlogo

September 1, 2003

Input validation in ASP.NET 1.1

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

Creating a scrollable DataGrid

When you create a DataGrid, it would be often good to specify its height, and have the DataGrid show a scrollbar if the content is longer than the given height.

Referencing external config files from Web.Config

Anybody programming with ASP.NET knows that you can store custom application’s settings in the web.config file, under the section, and programmatically read the values through the ConfigurationSettings class. When the

Persistent session state

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