Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. {
  2.  
  3. GridView.DataBind();
  4. TextBox UserName =
  5. (TextBox)GridView.Rows[e.RowIndex].FindControl("TextBox1");
  6. TextBox Password =
  7. (TextBox)GridView.Rows[e.RowIndex].FindControl("TextBox2");
  8. Label lbl= (Label)GridView.Rows[e.RowIndex].FindControl("Label2");
  9. SqlDataSource1.UpdateCommand = "Update UserDetails Set UserName='" +
  10. UserName.Text + "', Password='" + Password.Text + "' where Exi_ID="
  11. + lbl.Text + " And Edition_Id="+ Session["Edition_ID"].ToString() +
  12. "";
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement