if i set, CommandArgument="<%#((GridViewRow)Container).RowIndex %>" to linkbutton(inside gridview's template field) will it return (i) GridViewRow of current Row or (ii)DataKey value of current row?
A:
((GridViewRow)Container).RowIndex
Will return a string representation of a integer value of the current datagrid row. See MSDN. Having this piece of information you can get to the DataKey or the GridView row. If you need to know how I can update my answer.
Hope that helps
Anthony
2010-03-30 23:04:22
No Thanks,I got it.
paul
2010-03-30 23:24:20