hi,
i have a dropdownlist and gridview data.........in the dropdownlist,when i select a name that is there in gridview i must get that particular name details again in gridview...............only details of the selected name only.......
can anyone help me out???
thanx
Prakash MondalRank #6,588 · 260 pointsPosted May 30, 2014, 5:43 AM EDT
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList ddt = (DropDownList)GridView1.FindControl("DropDownList2");
ddt = (DropDownList)sender;
string str= ddt.SelectedItem.Text;
}