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);
}
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Feb 20, 2018, 2:15 AM
Dharmraj ThakurPosted Feb 18, 2018, 11:48 PM