Example #1
0
 private DataTable GetEmpPassInfo()
 {
     if (bll == null)
         bll = new HisPathCheckBll();
     return bll.SelectEmpPassInfo(empID, Convert.ToDateTime(beginTime));
     
 }
Example #2
0
        private void twMain_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            if (e.Button == MouseButtons.Left && e.Node.Nodes.Count < 1)
            {
                //MessageBox.Show(e.Node.Name);

                string pathNo = e.Node.Name;
                if (hbll == null)
                    hbll = new HisPathCheckBll();

                DataTable dt = hbll.SelectHisPathCheckByPath(pathNo);
                this.dgvMain.DataSource = dt;
                this.dgvMain.Columns["ID"].Visible = false;

            }
        }
Example #3
0
        private void bcpSelect_Click(object sender, EventArgs e)
        {
            if (cbInterval.Text != "")
            {
                int inter = (int)cbInterval.SelectedValue;

                //MessageBox.Show(inter.ToString());

                if (hbll == null)
                    hbll = new HisPathCheckBll();

                DataTable dt = hbll.SelectHisPathCheckInterval(inter);
                this.dgvMain.DataSource = dt;
                this.dgvMain.Columns["ID"].Visible = false;
            }
        }