myICTCReceCountry = myICTCWebService.GetReceivingCountry(myICTCRecCountrySOAPIn).Records For i As Integer = 0 To myICTCReceCountry.Length - 1 'ddlCountry.DataTextField = myICTCReceCountry(i).Country_Name 'ddlCountry.DataValueField = myICTCReceCountry(i).Destination_Country ddlCountry.Items.Insert(i, New ListItem(myICTCReceCountry(i).Country_Name, myICTCReceCountry(i).Destination_Country)) Next
myICTCWebService.GetReceivingCountry(myICTCRecCountrySOAPIn).Records
Dim lst = From a In myICTCReceCountry_ Order By a_ Select New With {Key a.Country_Name, a.Destination_Country}Distinct.ToList For Each lr In lst ddlCountry.DataTextField = lr.Country_Name; ddlCountry.DataValueField = lr.Destination_Country; Next
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)