Advertisement
Guest User

Untitled

a guest
May 28th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. protected void GridView2_RowUpdating(object sender, GridViewUpdateEventArgs e)
  2.  
  3. {
  4. int DataKeyValue = Convert.ToInt32(GridView2.DataKeys[e.RowIndex].Value.ToString());
  5. GridViewRow row = (GridViewRow)GridView2.Rows[e.RowIndex];
  6. Label lblID = (Label)row.FindControl("lblID");
  7.  
  8. TextBox GVtxtNextStep = (TextBox)row.Cells[0].Controls[0];
  9.  
  10. GridView2.EditIndex = -1;
  11.  
  12. cobj.SupportRef1 = txtSupportRef.Text;
  13. cobj.NextStep1 = txtNextStep.Text;
  14.  
  15.  
  16. bobj.MicroTicketUpdate(cobj);
  17.  
  18. GridView2.DataBind();
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement