19.AspxGridView server-side important properties and methods

Source: Internet
Author: User

Aspxgridview server-Side important properties

Property name Data type Chinese description
DataSource Object The data source. Supported data source types include: SqlDataSource, ObjectDataSource, XmlDataSource, AccessDataSource, SiteMapDataSource
DataSourceID String The data source ID.

Aspxgridview server-Side Important method

Method name Parameters Chinese description
Void Addnewrow () No New row
Void autofilterbycolumn (gridviewcolumn collmn,string value) Column: Fields to filter
Value: The field value to filter (wildcard characters can be used)
Filter by specified field
Void CancelEdit () No Cancels the edit mode. The end user can also cancel the edit mode by tapping the Cancel button.
Void Clearsort () No Clears the collation. If there is a grouping, the group will be beaten.
Void deleterow (int visibleindex) Visibleindex: Line number Deletes the specified line.
Void dorowvalidation () No Row data validation.
String Saveclientlayout () No Save the layout.
Void loadclientlayout (String layoutdata) Layoutdata: Layout data Restores the layout.

Gridviewcolumncollection server-Side important properties

Property name Data type Chinese description
Count Int Number of fields
Grid Aspxgridview Correspondence Aspxgridview
Item Gridviewcolumn GridView Field
Owner DevExpress.Web.ASPxClasses.IWebControlObject Parent container
Source:. NET Learning Network
Description: All sources are . NET Learning Network articles are original, if reproduced, please mark this page address in the reprint, thank you!

19.AspxGridView server-side important properties and methods

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.