I have managed to get a JQuery autocomplete working in C#.net using a webservice.Here is the asp code:\[code\] <div class="row"> <div class="span4"> <h3> Manage Season</h3> </div></div><div class="row"> <div class="span2"> <p> <label class="control-label" for="TeamName"> Team Name:</label></p> </div> <div class="span3"> <asp:TextBox ID="TeamNameTextBox" runat="server" CssClass="searchinput"></asp:TextBox> <asp:Button ID="AddTeamButton" CssClass="btn btn-primary" runat="server" Text="Add" OnClick="AddTeamButton_Click" /> </div><script type="text/javascript"> $(document).ready(function () { $(".searchinput").autocomplete({ source: function (request, response) { $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "PredictiveSearch.asmx/GetAllPredictions", data: "{'keywordStartsWith':'" + request.term + "'}", dataType: "json", async: true, success: function (data) { response(data.d); }, error: function (result) { alert("Due to unexpected errors we were unable to load data"); } }); }, minLength: 1 }); });</script>\[/code\]And the c# web service:\[code\] [System.Web.Script.Services.ScriptService]public class PredictiveSearch : System.Web.Services.WebService{ [WebMethod] public IList<string> GetAllPredictions(string keywordStartsWith) { //TODO: implement real search here! SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["RaiseFantasyLeagueConnectionString"].ConnectionString); SqlCommand cmd = new SqlCommand("[dbo].[findEnglishTeams]", conn); cmd.CommandType = CommandType.StoredProcedure; string searchTerm = keywordStartsWith; SqlParameter searchTermParam = new SqlParameter("@searchterm", searchTerm); cmd.Parameters.Add(searchTermParam); IList<string> output = new List<string>(); conn.Open(); SqlDataReader dReader = cmd.ExecuteReader(CommandBehavior.CloseConnection); if (dReader.HasRows) { while (dReader.Read()) { output.Add(dReader["englishTeamName"].ToString()); } return output; } else { return output; } }}\[/code\]I need to get the ID of the values i am populating the drop down with, how is this possible?