hey guys i'm new with ajax can u help me by telling me how i define the databases in this code
<System.Web.Services.WebMethod()> _ Public Shared Function GetNames(ByVal prefixText As String, ByVal count As Integer) As String() Dim db As New NamesDataContext() Return db.tblNames.Where(Function(n) n.name.StartsWith(prefixText)).OrderBy(Function(n) n.name).Select(Function(n) n.name).Take(count).ToArray()
Thanks in advance!