Asp. NET Advanced Programming Notes-Easy edition

Source: Internet
Author: User

# #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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.