protected void btnPrintPreview_Click(object sender, EventArgs e)
        {
            ReportDAL rdal    = new ReportDAL();
            Result    oResult = new Result();
            Config    oConfig = (Config)Session[Constants.SES_USER_CONFIG];

            if (oConfig != null)
            {
                int      iUploadStatus    = System.Convert.ToInt32(ddlUploadStatus.SelectedValue);
                DateTime dtFromDate       = Util.GetDateTimeByString(txtFromDate.Text);
                DateTime dtToDate         = Util.GetDateTimeByString(txtToDate.Text);
                string   sJournalTypeList = Util.GetCheckListIDList(chkLJournalType);
                bool     bchkDataRange    = chkDataRange.Checked;

                oResult = rdal.AccountEntriesData(iUploadStatus, sJournalTypeList.Substring(1, sJournalTypeList.Length - 2), bchkDataRange, dtFromDate, dtToDate, oConfig.BankCodeID, oConfig.DivisionID, oConfig.UserName, oConfig.BranchID, chkAllUser.Checked);

                if (oResult.Status)
                {
                    Session[Constants.SES_RPT_DATA] = oResult.Return;
                    Page.RegisterStartupScript(Constants.REPORT_WINDOW, Util.OpenReport());
                }
            }
        }