Includes: Styling: script: Html: Web Service: VB _ _ _ _ Public Class WebServiceProxy Inherits System.Web.Services.WebService _ Public Function ValidateStringAjax(ByVal prefixText As String) As List(Of Results) 'webservice: "http://ims.jocogov.org/webservices/PropertyWebService/propertywebservice.asmx?op=ValidateStringAjax" Dim resultsList As New List(Of Results)() Dim ws As New org.jocogov.ims.PropertyWebService Dim strLoginResult As Array strLoginResult = ws.ValidateStringAjax(prefixText, 25, '') Dim count As Integer = 0 For Each i In strLoginResult count += 1 resultsList.Add(New Results() With {.ID = 1, .Name = i.Name.ToString, .Value = i.Value.ToString, .Type = i.Type.ToString}) Next Return resultsList End Function End Class C# [System.Web.Script.Services.ScriptService()] [WebService(Description = "", Name = "AIMSWebServiceProxy", Namespace = "http://aims.jocogov.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [Microsoft.VisualBasic.CompilerServices.DesignerGenerated()] public class WebServiceProxy : System.Web.Services.WebService { [WebMethod()] public List ValidateStringAjax(string prefixText) { List resultsList = new List(); org.jocogov.ims.PropertyWebService ws = new org.jocogov.ims.PropertyWebService(); Array strLoginResult = default(Array); strLoginResult = ws.ValidateStringAjax(prefixText, 25, ''); int count = 0; foreach (object i_loopVariable in strLoginResult) { i = i_loopVariable; count += 1; resultsList.Add(new Results { ID = 1, Name = i.Name.ToString, Value = i.Value.ToString, Type = i.Type.ToString }); } return resultsList; } } //======================================================= //Service provided by Telerik (www.telerik.com) //Conversion powered by NRefactory. //Twitter: @telerik //Facebook: facebook.com/telerik //=======================================================