hi,
in my project i have one gridview columns(Name,Address,Country,Status and one link button )if i click in drop down list the status should be changed like(active(or)inactive)
while the drop down list is clicked at the time the status is active means then it should be changed to inactive like that viseversa inactive to active.how to do this plz help me.if posible plz tell step by step im in begginer level
Loading

Bhabani prasad DashPosted Jun 22, 2013, 4:41 AM
{
DropDownList ddlcurrentstatus =(DropDownList)sender;
GridViewRow grdvobj = ((GridViewRow)ddlcurrentstatus.Parent.Parent);
Label lbl_currentstatus = (Label)grdvobj.FindControl("lbl_status");
if (lbl_currentstatus != null)
lbl_currentstatus.Text = ddlcurrentstatus.SelectedItem.Text;
}
i solve the issue if any problm plz contact