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_RankList() { BLL_Crew_Admin objCrewAdmin = new BLL_Crew_Admin(); DataTable dt = objCrewAdmin.Get_RankList(); DDLRank.DataSource = dt; DDLRank.DataTextField = "Rank_Short_Name"; DDLRank.DataValueField = "ID"; DDLRank.DataBind(); }