| ||||||||||||||||||||||||||
BoundColumn ClassSystem.Web.UI.WebControls Namespace Renders a column in a DataGrid that is bound to a field in a data source.
|
||||||||||||||||||||||||||
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| protected | FormatDataValue | ( Object dataValue ) | String |
| public | Initialize | ( ) | Void |
| public | InitializeCell | ( TableCell cell , Int32 columnIndex , ListItemType itemType ) | Void |
Use the BoundColumn type in a DataGrid control to display the contents of a field in the data source in a single column. The field is linked to the BoundColumn, so any updates in the data source are reflected in the corresponding cells of the DataGrid control.
This is the default type of column used by a DataGrid.
The following example demonstrates using BoundColumn objects in a DataGrid to specify the display order of fields in a data source.
DataGrid AutoGenerateColumns 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