protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
string id = GridView1.Rows[e.NewEditIndex].Cells[0].Text;
Response.Redirect("TempletEdit.aspx?id=" + id);
}
{
string id = GridView1.Rows[e.NewEditIndex].Cells[0].Text;
Response.Redirect("TempletEdit.aspx?id=" + id);
}