if (e.CommandName.Equals("EditRecord")) { GridViewRow row = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer); tbxCode.Text = row.Cells[1].Text; tbxName.Text = row.Cells[2].Text; ddlSection.SelectedItem.Text= row.Cells[3].Text; tbxdesc.Text = row.Cells[4].Text; MultiView1.SetActiveView(ViewAdd); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)