What is the fastest way to display a database record set on the ASP. NET page?

Source: Internet
Author: User
The chick shooter mentioned the Performance problem of the DataGrid in the usage practice of the DataGrid. Now we can see that Microsoft DEV411 ASP. NET: Best Practices For Performance contains quantitative data, which is excerpted.
Average:
-DataReader is 16% faster than DataSet
-SQLDataReader is 115% faster than OleDbDataReader
-Subscript reference is 11% faster than field name reference
-The case-insensitive field names are 1% faster than the case-insensitive field names.
-Writing scripts directly is 223% faster than the DataGrid
-ViewState is faster than ViewState by 66%.
-The template column is 39% faster than the template column.
-Explicit type conversion is 11% faster than using DataBinding
-Data cache is 667% faster than the standard DataGrid
-The Output cache is faster than the standard DataGrid.
The conclusion is clear, so I will not translate it ,:-)

Related Article

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.