Ejemplo n.º 1
0
    protected void BindBrokerList2()
    {
        DataTable dt = oCP.GetSupplierBroker_List();

        ddlBroker2.DataSource     = dt;
        ddlBroker2.DataTextField  = "Supplier_Name";
        ddlBroker2.DataValueField = "Supplier_Code";
        ddlBroker2.DataBind();
        ddlBroker2.Items.Insert(0, new ListItem("-Select-", "0"));
    }