private void BindExamScheduleByTable(String year, String month, String day)
        {
            //DateTime date = new DateTime(

            BLL.ExamScheduleBiz biz = new BLL.ExamScheduleBiz();
            var ls = biz.GetExamScheduleByCriteria(ddlPlaceGroup.SelectedValue, ddlPlace.SelectedValue, ddlTypeLicense.SelectedValue,
                                                   "", year, month, day, ddlTime.SelectedValue, txtCurrentPage.Text, txtPageSize.Text, lblTotalItems.Text, UserIdRequest, "");

            ExamInfos = ls.DataResponse.ExamInfos;
            gvExamSchedule.DataSource = ExamInfos;
            gvExamSchedule.DataBind();
        }
Exemple #2
0
        private void BindExamScheduleByTable(String year, String month, String day)
        {
            BLL.ExamScheduleBiz biz = new BLL.ExamScheduleBiz();
            var ls = biz.GetExamScheduleByCriteria(ddlPlaceGroup.SelectedValue, ddlPlace.SelectedValue, ddlTypeLicense.SelectedValue,
                                                   "", year, month, day, ddlTime.SelectedValue, txtCurrentPage.Text, txtPageSize.Text, lblTotalItems.Text, UserIdRequest, "");

            ExamInfos = ls.DataResponse.ExamInfos;
            gvExamSchedule.DataSource = ExamInfos;
            gvExamSchedule.DataBind();

            if (gvExamSchedule.Rows.Count > 0)
            {
                btnExportExcel.Visible = true;
            }
            else
            {
                btnExportExcel.Visible = false;
            }
        }