Esempio n. 1
0
        private void btnRefresh_Click(object sender, EventArgs e)
        {
            StockInWorkQueryDialog frm = new StockInWorkQueryDialog();
            if (frm.ShowDialog() == DialogResult.OK)
            {
                string strWhere = frm.strWhere;

                Process.Dal.BillDal dal = new Process.Dal.BillDal();
                DataTable dt = dal.GetBillInTask(strWhere);
                bsMain.DataSource = dt;
            }
        }
Esempio n. 2
0
        private void btnRefresh_Click(object sender, EventArgs e)
        {
            StockInWorkQueryDialog frm = new StockInWorkQueryDialog();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                string strWhere = frm.strWhere;

                Process.Dal.BillDal dal = new Process.Dal.BillDal();
                DataTable           dt  = dal.GetBillInTask(strWhere);
                bsMain.DataSource = dt;
            }
        }