G
Guest
I've got two questions on how to do things in the new GridView. I'm used to
the DataGrid in ASP 1.1, so I need the equavalent in ASP 2.0 Gridview.
1.) What is the equavalent for Item Command event in GridView? I thought it
would be RowCommand, but I can't get that event to fire with a check box
field that I drag/drop in a template column in the ItemTemplate.
2.) For a Templated column, like a check box above, where do I tell it the
data field to bind from the data source? There is not a Template DataField
property to set to the database field name as in a bound field.
the DataGrid in ASP 1.1, so I need the equavalent in ASP 2.0 Gridview.
1.) What is the equavalent for Item Command event in GridView? I thought it
would be RowCommand, but I can't get that event to fire with a check box
field that I drag/drop in a template column in the ItemTemplate.
2.) For a Templated column, like a check box above, where do I tell it the
data field to bind from the data source? There is not a Template DataField
property to set to the database field name as in a bound field.