Click here to Skip to main content
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
0 Sergey Alexandrovich Kryukov 505
1 OriginalGriff 258
2 ChintanShukla 195
3 Bhavik_Patel 170
4 Richard Deeming 165
0 Sergey Alexandrovich Kryukov 8,688
1 OriginalGriff 7,237
2 CPallini 2,598
3 Richard MacCutchan 2,080
4 Abhinav S 1,888


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2014
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