Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- GridView.DataBind();
- TextBox UserName =
- (TextBox)GridView.Rows[e.RowIndex].FindControl("TextBox1");
- TextBox Password =
- (TextBox)GridView.Rows[e.RowIndex].FindControl("TextBox2");
- Label lbl= (Label)GridView.Rows[e.RowIndex].FindControl("Label2");
- SqlDataSource1.UpdateCommand = "Update UserDetails Set UserName='" +
- UserName.Text + "', Password='" + Password.Text + "' where Exi_ID="
- + lbl.Text + " And Edition_Id="+ Session["Edition_ID"].ToString() +
- "";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement