Exemple #1
0
    private void Databind()
    {
        BCO.PrintStockTake bco = new BCO.PrintStockTake(ConntionDB);

        DataTable Dt = null;

        Dt = bco.QueryLocateSection(this.SLP_CodeFile1.Text);
        this.ddlS.DataSource = Dt;
        this.ddlS.DataTextField = "LOCATE_SECTOR";
        this.ddlS.DataValueField = "LOCATE_SECTOR";
        this.ddlS.DataBind();
        this.ddlS.Items.Insert(0, "     ");
        this.ddlE.DataSource = Dt;
        this.ddlE.DataTextField = "LOCATE_SECTOR";
        this.ddlE.DataValueField = "LOCATE_SECTOR";
        this.ddlE.DataBind();
        this.ddlE.Items.Insert(0, "     ");
    }
Exemple #2
0
    public DataTable queryData(out string strMsg, out string strResult)
    {
        ResultMsgLabel.Text = "";
        BCO.PrintStockTake bco = new BCO.PrintStockTake(ConntionDB);

        DataTable Dt = null;

        ArrayList aList = this.getParameterList();

        Dt = bco.PrintRpt01(aList,out strMsg,out strResult);

        return Dt;
    }