Example #1
0
    private void show()
    {
        string fbillno          = txt_fbillno_id.Text.Trim();
        string start_time       = cb_start_time.Text;
        string end_time         = cb_end_time.Text;
        string customer         = txt_customer.Text.Trim();
        string check_status     = ddl_check_status.SelectedValue;
        ReceiptAuditAdapter raa = new ReceiptAuditAdapter();
        DataSet             ds1 = raa.getICSaleList(start_time, end_time, fbillno, customer, check_status);
        DataSet             ds2 = raa.getICSaleListFromKindDee(start_time, end_time, fbillno, customer, check_status);
        DataTable           ds  = sub(ds2, ds1);

        ds.Merge(ds1.Tables[0]);
        ds = order(ds);
        GridView1.DataSource = ds;
        GridView1.DataBind();
    }