"ASP. NET 2.0 secrets" Reading Notes (11)

Source: Internet
Author: User

Use the gridview

* Enablesortingandpagingcallbacks: Enable Ajax sorting, but templatefield cannot be used at this time.

* Tables can be automatically generated directly from the database. Generally, it is useless to view data.

* Rowdatabind events can be used to register cell modification events;

* Sort (): it can be called by other methods to customize GV sorting;

* Pagebuttoncount: the number of displayed pages;

* Maintainscrollpostiononpostback: The same position is located no matter when the page is sent back;

* Conflictdetection: The value can be compareallvalues | overwritechanges

* Viewstate: it is best to disable it;

* When Using dataformatstring, htmlencod must be disabled; otherwise, it will become invalid;

* What field is used to represent?

* Long text field in page369

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.