コード例 #1
0
    public void GetBrandByCategory()
    {
        Object CategoryByBrandFill = new Object();

        CategoryByBrandFill.Category_Name = HiddenCatagoryName.Value;
        DataTable dt = BSLAYER.BrandFillByCategory(CategoryByBrandFill);

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