.NET Samples - ASP.NET Configuration

This section includes the following samples:

Config1 Sample

BrowsCaps Sample

Config1 Sample

This sample demonstrates how to use the AppSettings property of the ConfigurationSettings object to retrieve ASP.NET configuration information.

Namespaces used in this sample:

System; System.Data; System.Configuration; System.Data.SqlClient

Classes used in this sample:

DataGrid; Import; SqlDataAdapter; SqlConnection; DataSet; Font; DataAdapter; DataView; ConfigurationSettings; Page; Object; Style; Header; EventArgs; Table; String

BrowsCaps Sample

This sample demonstrates how to access browser capabilities information stored in a configuration file from an ASP.NET Web application.

Namespaces used in this sample:

(none)

Classes used in this sample:

String; Version; Table; Cookie; Control; Type; Page