| |||||||||||||||||
DataGrid.Columns PropertySystem.Web.UI.WebControls Namespace DataGrid Class Returns a collection of objects that represent the columns of the DataGrid control. Syntax
This property can only be used programmatically; it cannot be set when declaring the control. Property Value
The property is read only with no default value. RemarksUse this property to programmatically control the collection of columns in the DataGrid control. The Columns collection contains explicitly declared columns that get rendered in the DataGrid control.
The order that the columns are displayed in the DataGrid control is controlled by the order that the columns appear in the Columns collection. The following table shows the different column classes that derive from the DataGridColumn class and can be used in the Columns collection.
See AlsoDataGrid Members DataGridColumn BoundColumn ButtonColumn EditCommandColumn HyperLinkColumn TemplateColumn |
| ||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme