Esempio n. 1
0
    public void GetProductName()
    {
        Object NameProduct = new Object();

        NameProduct.Product_Brand = Ddlbrand.SelectedValue;
        DataTable dt = BSLAYER.ProductName(NameProduct);

        DdlProduct.DataSource     = dt;
        DdlProduct.DataTextField  = "Product_Name";
        DdlProduct.DataValueField = "Product_Name";
        DdlProduct.DataBind();
        DdlProduct.Items.Insert(0, "--Filter By Product--");
    }