i am editing row from gridview ,then section column value get change in Popup window ,here is image for your consideration.

i want same value which exit in row section column ,in popup window .
here is my c# code ..for edit row
- protected void Edit(object sender, EventArgs e)
- {
- using (GridViewRow row = (GridViewRow)((LinkButton)sender).Parent.Parent)
- {
- txtEmpID.ReadOnly = true;
- txtEmpID.Text = row.Cells[0].Text;
- txtEmpName.Text = row.Cells[1].Text;
- txtFahterName.Text = row.Cells[2].Text;
- ddlSecID.SelectedItem.Value = row.Cells[3].Text;
- popup.Show();
- }
- }


Amit MohantyRank #112 · 20K reputationPosted Sep 5, 2019, 1:23 AM EDT
Priyanka JainRank #356 · 7K reputationPosted Sep 5, 2019, 1:37 AM EDT