protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { Service obj = new Service (); List <Service > slist = new List<Service> (); Int32 ser = Convert .ToInt32 (DropDownList2.SelectedValue); slist = obj.allServcieBYfk(ser); drpDwnService.DataSource = slist; drpDwnService.DataBind(); }
slist = obj.allServcieBYfk(ser); drpDwnService.DataSource = slist;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)