protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { GridViewRow row = GridView1.SelectedRow; String dt = GridView1.SelectedRow.Cells[1].Text; String sal = GridView1.SelectedRow.Cells[2].Text; Response.Redirect("empupdate.aspx?dt=" + dt + "&sal=" +sal); }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { TextBox3.Text = Page.Request.QueryString["dt"].ToString(); TextBox4.Text = Page.Request.QueryString["sal"].ToString(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)