protected void Load_BunkerSampleAnalysis() { int FleetCode = UDFLib.ConvertToInteger(ddlFleet.SelectedValue); int Vessel_ID = UDFLib.ConvertToInteger(ddlVessel.SelectedValue); int Bunker_Supplier = UDFLib.ConvertToInteger(ddlBunkerSupplier.SelectedValue); int LabID = UDFLib.ConvertToInteger(ddlLabList.SelectedValue); int Status = UDFLib.ConvertToInteger(ddlStatus.SelectedValue); string DateFrom = txtDateFrom.Text; string DateTo = txtDateTo.Text; int PAGE_SIZE = ucCustomPager.PageSize; int PAGE_INDEX = ucCustomPager.CurrentPageIndex; int SelectRecordCount = ucCustomPager.isCountRecord; DataTable dt = BLL_OPS_BunkerAnalysis.Get_LOAnalysisReport(FleetCode, Vessel_ID, Bunker_Supplier, LabID, Status, DateFrom, DateTo, GetSessionUserID(), UDFLib.ConvertToInteger(ctlBunkerPort.SelectedValue), txtAirwayBill.Text, PAGE_SIZE, PAGE_INDEX, ref SelectRecordCount); GridView_Bunker.DataSource = dt; GridView_Bunker.DataBind(); if (ucCustomPager.isCountRecord == 1) { ucCustomPager.CountTotalRec = SelectRecordCount.ToString(); ucCustomPager.BuildPager(); } }