Open a web.config file, add: appsettings> Web.config file : XML Version = "1.0" encoding = "UTF-8"?> < / appSettings> tag to each error to be processed. "ON" always displays a custom (friendly) message. "OFF" always displays detailed ASP.NET error messages. "Remoteon" only displays custom (friendly) information on users who are not running on the local Web server. For security purposes, it is recommended to use this setting so that you do not display the application's details. ->
Wildcase: "*" means anyone, "?" Indicates anonymous (without authentication) users. -> - (comma-separated user list] "Roles =" [comma-separated role List] "/> -> authorization> <-! - Globalization This section sets the global setting of the application. -> system.Web> configuration> Add database connection statement in .aspx file: SQLConnection Objconnection = New SqlConnection (System.Configuration .ConfigurationSettings.appsettings ["sqlconn"]); if you have any questions, please contact! Http://mumushu.126.com
E_mail: Mumu_Shu@hotmail.com