Bind column
<Asp: BoundColumn
DataField = "datetime" field name
HeaderText = "Time" list header
HeaderImagerUrl = ""> The image displayed in the column header replaces the text of HeaderText.
</Asp: BoundColumn>
If the value of "automatically create columns" is true, the bound columns are displayed first, and then the automatically generated columns are not added to the columns set.
Hyperlink column
<Asp: HyperLinkColumn
Text = "Text" // Each column displays the same Text. In this case, DataTextField takes precedence over DataTextField = "Code" // The bound field name.
DataTextFormatString = "" // customize the display format of DataTextField
NavigateUrl = "url" // All columns use the same url
DataNavigateUrlField = "codeId" // URL field variable, that is, the passed variable value, sometimes the same as DataTextField
DataNavigateUrlFormatString = "WebForm2.aspx? Code = {0} "URL format string, string passed in GET mode
Target = "_ blank"> // location or method of opening a link
</Asp: HyperLinkColumn>
Button column
<Columns>
Normal button
<Asp: ButtonColumn
Text = "unified button names for all columns" // unified button names for all columns
DataTextField = "shareholding name" // binding field
CommandName = "btn"> //
HeaderText = "operation"> // list header
</Asp: ButtonColumn>
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