# #ASP. NET Advanced Programming
# # # # # Basic
-1 Configuring the Web server IIS
-1 Default Document directory browsing and other functions
-2 Basic controls
-TextBox Button CheckBox CheckBoxList DropDownList ListBox
-File Upload
-Single file less than 4MB upload
-Path using Server.MapPath
-File name extension
-Rename-date plus random three digits
-Large File Upload
-Modify Web. config
-Requestlengthdiskthreshold= "/>"
-Dynamic Table
-3 validation controls
-1 CompareValidator RegularExpressionValidator, etc.
-2 Properties Display ControlToValidate
-3 ErrorMessage
-4 built-in objects
-1 Response
-Write
-2 Request
-QueryString
-3 Server
-MapPath
-Urlcode
-HtmlEnCode HtmlDecode
-4 Application
-5 Session
-SessionID
# # # ASP. NET of ADO in
-1 Connection Database
-String---using Web. config
-Using System.Configuration
-2 DataSet
-SqlDataAdapter
-Traverse dataset-for (Rows.Count) {for (Columns.count)} Rows[i]. ITEMARRAY[J]
-GridView Fill Data
-1 binding Data source DataSource
-2 Start binding Data Databild ()
-3 Sqldbhelper
-Fast JS Popup prompt: Response.Write ("<script>alert" (' Write Failed! ') </script> ");
-parameter: sqlparameter[] sp = {new SqlParameter ("@name", txtName.Text),.....};
-4 Microsoft Enterprise Library
-1 configuring Web. config
-2 referencing DLLs
-EntLib
-3 Adding namespaces
-Using Microsoft.Practices.EnterpriseLibrary.Data;
-Using MICROSOFT.PRACTICES.ENTERPRISELIBRARY.DATA.SQL;
-Using System.Data.Common;
-4 DataBase
-Database db = Databasefactory.createdatabase ("ConnectionString");
-5 Complete additions and deletions (Girdview)
-Bring your own delete rowdeleting
-int rowIndex = E.rowindex;
-Int id = Convert.ToInt32 (gvproduct.datakeys[rowindex]. Value);
-form pass value, etc. to populate before update
Asp. NET Advanced Programming Notes-Easy edition