| |||||||||||
DataGrid.SelectedItem PropertySystem.Web.UI.WebControls Namespace DataGrid Class Returns a DataGridItem object that represents the selected item in 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 the SelectedItem property to get a DataGridItem object that represents the selected item in the DataGrid control. This object can then be used to access the properties of the selected item. ExampleThe following example demonstrates how to programmatically set the style properties of the SelectedItem in the DataGrid control at run time.
See Also |
| ||||||||||
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