<asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="True" SortExpression="Id" ItemStyle-CssClass="ItemPixel" />
string index = string.empty; foreach(GridViewRow row in GridView1.Rows) { index = index + "," + Convert.ToString(GridView1.Cells[0].Value); } return index,substring(0, index.Length - 2);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)