<asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" SortExpression="Id"
ItemStyle-CssClass="ItemPixel" />
How to get all the values from this column of gridview in c#.
Binding grid using Datasource
ID
1
2
3
I want 1,2,3 in c# ON button click event