Mega Code Archive

 
Categories / ASP.Net Tutorial / Data Binding
 

Using Fields with the GridView Control

BoundField:             display the value of a data item as text. CheckBoxField:          display the value of a data item as a check box. CommandField:           display links for editing, deleting, and selecting rows. ButtonField:            display the value of a data item as a button (image button, link button, or push button). HyperLinkField:         display the value of a data item as a link. ImageField:             display the value of a data item as an image. TemplateField:          customize the appearance of a data item.