Ejemplo n.º 1
0
    public DataTable BindGvCustDetail(string CustCode)
    {
        DataTable dt = new DataTable();

        dt = Customer_cs.Get_CustList("", CustCode);
        return(dt);
    }
Ejemplo n.º 2
0
    protected void btnSave_Click(object sender, EventArgs e)
    {
        DataTable dt = new DataTable();

        dt = Customer_cs.Get_CustList("ActiveNonActive", strFY.ToString(), DDLSuperZone.SelectedValue.ToString());
        ViewState["ActiveNonActive"] = dt;
        ShowDetails(dt);
    }
    public DataView BindGvCustDetail()
    {
        DataTable dt = new DataTable();

        dt = Customer_cs.Get_CustList();
        DataView dv = new DataView(dt);

        return(dv);
    }
 public DataView BindCustomerMasterDetail()
 {
     try
     {
         DataTable dt = new DataTable();
         dt = Customer_cs.Get_CustList("ExportCustomer", "");
         DataView dv = new DataView(dt);
         return(dv);
     }
     catch (Exception ex)
     {
         DataView dv = new DataView();
         return(dv);
     }
 }
Ejemplo n.º 5
0
    protected void btnget_Click(object sender, EventArgs e)
    {
        DataTable dt = new DataTable();

        if (rdbselect.SelectedValue == "Customer")
        {
            dt = Customer_cs.Get_CustListReport("SuperZone", DDLCC.SelectedValue.ToString(), DDLSuperZone.SelectedValue.ToString(), ddlZone.SelectedValue.ToString());
        }
        else
        {
            dt = Customer_cs.Get_CustList("Supplier", ddlSupplier.SelectedValue.ToString());
        }
        ViewState["Data"] = dt;
        BindData(dt);
    }