public void BindFleetDLL() { try { Int32 UserCompanyID = Convert.ToInt32(Session["USERCOMPANYID"].ToString()); Int32 VesselManager = UDFLib.ConvertToInteger(Session["VesselManager"]); DataTable FleetDT = BLL_LMS_Training.GetFleetList(UserCompanyID, VesselManager); DDLFleet.DataSource = FleetDT; DDLFleet.DataTextField = "Name"; DDLFleet.DataValueField = "code"; DDLFleet.DataBind(); } catch (Exception ex) { } }