Ejemplo n.º 1
0
        private void BindgvLabReport(string strFromDt, string strToDate)
        {
            ApplicationResult objResult      = new ApplicationResult();
            LabReportBl       objLabReportBl = new LabReportBl();

            objResult = objLabReportBl.LabReport(strFromDt, strToDate);

            if (objResult != null)
            {
                gvLabReport.DataSource = objResult.ResultDt;
                gvLabReport.DataBind();
                PanelVisibilityMode(true, false);
            }
        }
Ejemplo n.º 2
0
        private void BindgvLabReport(string strFromDt, string strToDate)
        {
            ApplicationResult objResult      = new ApplicationResult();
            LabReportBl       objLabReportBl = new LabReportBl();

            objResult = objLabReportBl.LabReport(strFromDt, strToDate);

            gvLabReport.DataSource = objResult.ResultDt;
            gvLabReport.DataBind();
            PanelVisibilityMode(true, false);
            if (gvLabReport.Rows.Count > 0)
            {
                divExport.Visible = true;
                divNo.Visible     = false;
            }
            else
            {
                divExport.Visible = false;
                divNo.Visible     = true;
            }
        }