Esempio n. 1
0
        private void fill(string workno)
        {
            if (workno == "")
            {
                data_grd.set_date(dal.GetAllDataTable(mydate.Value, deptcode));
            }
            else
            {
                data_grd.set_date(dal.GetAllDataTable(mydate.Value, deptcode, workno));
            }

            data_grd.set_hide(0);
            data_grd.set_width(2, 60);
            //data_grd.set_hide(7);
        }
        private void fill(DateTime mydate)
        {
            每月收入DAL dal = new 每月收入DAL();


            data_grd.set_date(dal.GetAllDataTable(mydate));
            data_grd.set_hide(0);
        }