for(int index =0;index<dt1.rows.count;index++)> { CheckBox chkselect = (CheckBox)grdReplicate.Rows[index].FindControl("chkSelect"); if (chkselect.Checked == true) { if (res == "") { lblppo=(Label)grdReplicate.Rows[index].FindControl("lblgrdppono"); res = Convert.ToString(grdReplicate.DataKeys[index].Value); ppoids = lblppo.Text; } } LblMsg = Penobj._ExecuteQuery("update t_replicate_detail set MICR_CODE='" + (grdReplicate.Rows[index].Cells[8].Text)+ " ' where Replicate_ID in( '" + res + "')");
grdReplicate.Rows[index].Cells[8].Text
grdReplicate.Rows[0].Cells[8].Text
grdReplicate.Rows[index].Cells[8].Value.ToString()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)