private void gvDenominations_BindData() { int Vessel_ID = 0; int CTM_ID = 0; int Office_ID = 0; if (Request.QueryString["Vessel_ID"] != null) { Vessel_ID = UDFLib.ConvertToInteger(Request.QueryString["Vessel_ID"].ToString()); } if (Request.QueryString["ID"] != null) { CTM_ID = UDFLib.ConvertToInteger(Request.QueryString["ID"].ToString()); } if (Request.QueryString["Office_ID"] != null) { Office_ID = UDFLib.ConvertToInteger(Request.QueryString["Office_ID"].ToString()); } DataTable dt = BLL_PB_PortageBill.Get_CTM_Denominations(Vessel_ID, CTM_ID, Office_ID); gvDenominations.DataSource = dt; gvDenominations.DataBind(); }