3
Answers

how to get datagrid's column value?

Photo of Dipa Ahuja

Dipa Ahuja

15y
4.1k
1
hi i want to get the value of column in gridview on RowCommand event.

this is the field in griedview
 
<asp:BoundField DataField="friend_Id" HeaderText="friend_Id" SortExpression="friend_Id" Visible="False" />

so in .cs how to get its value in GridView1_RowCommand() event?

Answers (3)