protected void btnClearFilter_Click(object sender, EventArgs e) { DDLFleet.ClearSelection(); DDLVessel.ClearSelection(); DDLRank.ClearSelection(); DDLNationality.ClearSelection(); DDLManningOffice.ClearSelection(); //DDLCommentedBy.ClearSelection(); DDLStatus.SelectedValue = "1"; DDLCrewStatus.SelectedValue = "0"; txtSearch.Text = ""; txtCommentFromDate.Text = ""; txtCommentToDate.Text = ""; BindFleetDLL(); BindVesselDDL(); Load_RankList(); Load_CountryList(); Load_ManningAgentList(); //BindUserList(); BindGrid(); }
public void Load_ManningAgentList() { try { BLL_Infra_Company objComp = new BLL_Infra_Company(); DDLManningOffice.DataSource = objBLLCrew.Get_ManningAgentList(UDFLib.ConvertToInteger(Session["USERCOMPANYID"].ToString())); DDLManningOffice.DataTextField = "COMPANY_NAME"; DDLManningOffice.DataValueField = "ID"; DDLManningOffice.DataBind(); } catch { } }