protected void LoadZones()
        {
            try
            {
                dropPhongBan.SelectedValue = IDPhongBan.ToString();
                //dropPhong.SelectedValue = IDPhongBan.ToString();
            }
            catch (Exception)
            {
                dropPhongBan.SelectedIndex = -1;
                IDPhongBan = 0;
            }

            DateTime dtTime = new DateTime(ConvertUtility.ToInt32(dropYear.SelectedValue), ConvertUtility.ToInt32(dropMonth.SelectedValue), ConvertUtility.ToInt32(dropDay.SelectedValue));

            DataTable dt = QuanLyCongViecBaoCaoNgayController.GetAllByParentID(0, ConvertUtility.ToInt32(dropTrungTam.SelectedValue), IDPhongBan, dtTime, IDDotDanhGia, CurrentUser.UserID);

            dgrCongViec.DataSource = dt;
            dgrCongViec.DataBind();

            if (dropCongViecKPI.SelectedValue != "0")
            {
                QuanLyCongViecKPIInfo info = QuanLyCongViecKPIController.GetInfo(ConvertUtility.ToInt32(dropCongViecKPI.SelectedValue));
                if (info != null)
                {
                    txtCongViecLon.Text = info.KeHoach;
                    lblFrom.Text        = info.NgayBatDau.ToString("dd/MM/yyyy");
                    lblTo.Text          = info.NgayKetThuc.ToString("dd/MM/yyyy");
                }
                else
                {
                    cmdEmpty_Click(null, null);
                }
            }
        }
예제 #2
0
 public abstract void UpdateCongViecKPI(QuanLyCongViecKPIInfo _QuanLyCongViecKPIInfo);
예제 #3
0
 public abstract int InsertCongViecKPI(QuanLyCongViecKPIInfo _QuanLyCongViecKPIInfo);