/// <summary> /// Method to populate value grid for all vessels /// </summary> protected void BindPIValues() { try { DataTable dt = BLL_TMSA_PI.Get_All_Vessels(Convert.ToInt32(Session["USERCOMPANYID"].ToString())).Tables[0]; rgdItems.DataSource = dt; rgdItems.DataBind(); rgdItems.Visible = true; } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); } }