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(); }
private void Load_CountryList() { try { BLL_Infra_Country objCountry = new BLL_Infra_Country(); DDLNationality.DataSource = objCountry.Get_CountryList(); DDLNationality.DataTextField = "COUNTRY"; DDLNationality.DataValueField = "ID"; DDLNationality.DataBind(); } catch { } }