Click here to Skip to main content
11,565,672 members (43,623 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Please help.

<\script>
$(function() {
var availableTags
$( ";#tags" ).autocomplete({source: availableTags});

});</script>




if post back = true

Dim sqlSelect As String
Dim thisName As String = ""

sqlSelect = SELECT * from tablename;

Dim myConnection As New SqlConnection(tConnectionString)
Dim myCommand As New SqlCommand(sqlSelect, myConnection)
myConnection.Open()
Dim myReader As SqlDataReader
myReader = myCommand.ExecuteReader()

If myReader.HasRows Then
While myReader.Read()
thisName = myReader("clomun_name")
End While
myReader.Close()
myConnection.Close()

end if
return thisname


i have a textbox with id tag.

i have a jquery which would take the values from variable name avaliabletags

but unable to excute please help.
Posted 8-Nov-12 15:31pm
Edited 8-Nov-12 16:20pm
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I this here is the solution for your question..

Using jQuery AutoComplete Plugin in ASP.Net

Please mark as answer if it solves your problem..!

thanks
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100