for(int i = 0 ;i<datagrid.rows.count ; i++) { string a1 = datagrid.rows[i][0].value; string a2 = datagrid.rows[i][1].value; Save Query; }
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { TextBox myTextBox = (TextBox)(e.Row.Cells[1].FindControl("TextBox1")); // ..insert code } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)