Ejemplo n.º 1
0
 private void dataBind()
 {
     dt = new DataTable();
     contractorAwardReport = new ContractAwardReport();
     dt = contractorAwardReport.ContractorReportSearch(0, Convert.ToInt32(drpLoanNumber.SelectedValue), Convert.ToInt32(drpSector.SelectedValue), Convert.ToInt32(drpYear.SelectedValue));
     dt = (DataTable)DisbursementAchievementReport.getTableValue(dt);
     grdContractAwardReport.DataSource = dt;
     grdContractAwardReport.DataBind();
     Session[clsConstant.SESS_TABLE] = dt;
 }
Ejemplo n.º 2
0
        protected void GridViewBind()
        {
            dt = new DataTable();
            contractorAwardReport = new ContractAwardReport();
            dt = contractorAwardReport.BindGridview();
            dt = (DataTable)DisbursementAchievementReport.getTableValue(dt);
            grdContractAwardReport.DataSource = dt;
            grdContractAwardReport.DataBind();
            Session[clsConstant.SESS_TABLE] = dt;

            if (!IsPostBack)
            {
                info.AddMergedColumns(new int[] { 4, 5 }, "<b>Quarter 1</b>");
                info.AddMergedColumns(new int[] { 6, 7 }, "<b>Quarter 2</b>");
                info.AddMergedColumns(new int[] { 8, 9 }, "<b>Quarter 3</b>");
                info.AddMergedColumns(new int[] { 10, 11 }, "<b>Quarter 4</b>");
            }
        }