Getting data from gridview in asp.net -
i want use gridview in asp.net , when click button rows in gridview save in array , can use them 1 one.
please tell me solution or suggest me book or link or ...
thanks
here suppose button not in grid. on click event of button can write following code
string[] str = new string[gv.rows.count]; (int = 0; < gv.rows.count; i++) { str[i]= gv.rows[i].cells[0].text.tostring(); }
and can have values of gridview cell against each row.
now it's how use array further.
thanks
Comments
Post a Comment