public void Show_TC_Record(int TCID, int Main_Report_ID, int Vessel_ID)
    {
        DataSet ds = BLL_FRM_MEPerformanceReport.Get_MEPerformanceReport_TC(TCID, Main_Report_ID, Vessel_ID);

        frmTurboCharger.DataSource = ds.Tables[1];
        frmTurboCharger.DataBind();
    }
Example #2
0
    private void Load_ME_Perf_Report_Details(int Report_ID, int Vessel_ID)
    {
        DataSet ds = BLL_FRM_MEPerformanceReport.Get_MEPerformanceReport(Report_ID, Vessel_ID);

        frmMain.DataSource = ds.Tables[4];
        frmMain.DataBind();

        frmMiscData.DataSource = ds.Tables[4];
        frmMiscData.DataBind();

        GridView_CYL.DataSource = ds.Tables[3];
        GridView_CYL.DataBind();

        TC1.Show_TC_Record(1, Report_ID, Vessel_ID);
        TC2.Show_TC_Record(2, Report_ID, Vessel_ID);
        TC3.Show_TC_Record(3, Report_ID, Vessel_ID);
        TC4.Show_TC_Record(4, Report_ID, Vessel_ID);
    }