Mohamed Somalia

Mohamed Somalia

  • NA
  • 312
  • 3.2k

Bind Tex-box from another page

Feb 18 2018 3:06 AM
Hello! i m using asp.net i want to bind texbox from Gridview Page to Registration page to fill and update if i click Edit Bottun , almost seccessfully redirect of two page but my problem is No textbox binding help me guys.
 in Gridview page 
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "EditButton")
{
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow row = GridView1.Rows[index];
Response.Redirect("~/Customers.aspx?Custid=" + row.Cells[1].Text);
}
 

Answers (2)