protected void fillemployee() { DataTable dsemp = ClsStore.SelectEmployeewithBusinessId(DropDownList1.SelectedValue); DropDownList2.DataSource = dsemp; DropDownList2.DataTextField = "EmployeeName"; DropDownList2.DataValueField = "EmployeeMasterID"; DropDownList2.DataBind(); }
public DataTable fillemployee() { DataTable dtemp = ClsStore.SelectEmployeewithBusinessId(ddlSearchByStore.SelectedValue); return(dtemp); }