S
shapper
Hello,
I am using an AutoCompleteExtender.
I created the .asmx file with the method GetWordList:
<WebMethod()> _
Public Function GetWordList(ByVal prefixText As String, ByVal count
As Integer) As String()
Dim words As New Generic.List(Of String)
' GET words from database using TypeId as parameter ...
...
categories.Sort()
Return categories.ToArray
End Function
I don't have any problems with connecting to the database.
I just don't know how to pass the parameter TypeId to GetWordList.
As fas as I know the inputs of the AutoCompleteExtender method must
be:
ByVal prefixText As String, ByVal count As Integer
I can only change the name of the method.
Thanks,
Miguel
I am using an AutoCompleteExtender.
I created the .asmx file with the method GetWordList:
<WebMethod()> _
Public Function GetWordList(ByVal prefixText As String, ByVal count
As Integer) As String()
Dim words As New Generic.List(Of String)
' GET words from database using TypeId as parameter ...
...
categories.Sort()
Return categories.ToArray
End Function
I don't have any problems with connecting to the database.
I just don't know how to pass the parameter TypeId to GetWordList.
As fas as I know the inputs of the AutoCompleteExtender method must
be:
ByVal prefixText As String, ByVal count As Integer
I can only change the name of the method.
Thanks,
Miguel