コード例 #1
0
    protected void fillemployee()
    {
        DataTable dsemp = ClsStore.SelectEmployeewithBusinessId(DropDownList1.SelectedValue);

        DropDownList2.DataSource     = dsemp;
        DropDownList2.DataTextField  = "EmployeeName";
        DropDownList2.DataValueField = "EmployeeMasterID";
        DropDownList2.DataBind();
    }
コード例 #2
0
    public DataTable fillemployee()
    {
        DataTable dtemp = ClsStore.SelectEmployeewithBusinessId(ddlSearchByStore.SelectedValue);

        return(dtemp);
    }