| Author: akku 05 Aug 2008 | Member Level: Silver | Rating: Points: 3 |
refer msdn for the information ..You will get a complete reference from there on gridviews...
visit this link http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview(VS.80).aspx
|
| Author: Kumar Velu 05 Aug 2008 | Member Level: Diamond | Rating: Points: 6 |
Gridview Interview Questions:
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.
Refer: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview(VS.80).aspx http://www.thinkinterview.com/Interview-Questions/t_GridView_Interview-Questions.aspx
|