コード例 #1
0
    public void GetBrand()
    {
        Object    NameBrand = new Object();
        DataTable dt        = BSLAYER.BrandName(NameBrand);

        Ddlbrand.DataSource     = dt;
        Ddlbrand.DataTextField  = "Product_Brand";
        Ddlbrand.DataValueField = "Product_Brand";
        Ddlbrand.DataBind();
        Ddlbrand.Items.Insert(0, "--Filter By Brand--");
    }