"Asp. Net 2.0 secrets" Reading Notes (8)

Source: Internet
Author: User

* SqlDataSource: indicates that the data is from an SQL relational database, such as ms SQL Server, Oracle, or DB2;

* Performancecontrol: The base class above and accessdatasoucrce indicate table data;

* HierarchicalDataSourceControl: it is a base class of XMLDataSource and sitemapdatasource, indicating tree-level data;

* Parameter: any static Parameter

* ControlParameter: controls or page attribute values, CookieParameter, FormParameter, ProfileParameter, QueryStringParameter, and SessionParameter. This means that it is enough to look at the text;

* DataSource: IEnumeralbe can use this interface as the data source, and IlistSource or IdataSource can be used as the data source;

* Data Binding expression: It is a special expression that calculates the result until it is run. It can be used between <% # And %>, it calculates the result only when the DataBinding event of the control;

* Eval: the Page is protected by DataBinder. Eval ();

* Eval (): when calculating an expression, reflection is used to search for Attributes Based on the name. In this case, some new energy loss occurs. As a compromise, the type can be forcibly converted to the corresponding type to improve performance;

<%#((system.Data.DataRowView)Container.DataItem)["Title"]%>

* ITemplate: the reason why the template supports one-way binding;

* IbindableTemplate: the reason why two-way binding is supported;

* Bind (): Use of Bidirectional binding;

* SQL Server 2005 Express: This version limits many functions, but it is a completely identical database engine. Its database size cannot exceed 4 GB, and the maximum memory usage is 1 GB. It supports CLR, therefore, you can use C # To create a stored procedure;

* | DataDirectory |: The App_Data folder;

* Data Source: the database connection string can be replaced by the Server;

* Initial Catalog: it can be replaced by Database;

* AttachDbFilename: attaches the database to the local data server, which facilitates development by teammates;

* Absolute positioning: learning to use absolute positioning can omit many pages;

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.