Click here to Skip to main content
15,891,763 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
without ajax using jquery


ASP.NET
<asp:TextBox ID="TextBox1" runat="server" Width="134px" OnTextChanged="TextBox1_TextChanged" AutoPostBack="true" >


C#
Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
       GridView1.DataBind()
       If GridView1.Rows.Count <= 0 Then
           Label1.Text = "NO RECORDS FOUND";
       Else
           Label1.Text = "";
       End If
   End Sub



i am having a texbox ,autosuggest from database without ajax
and while searching on keypress autosuggest would check from database
later checking the textbox value with gridview.
please help.
Posted
Updated 8-Nov-12 16:19pm
v4

1 solution

 
Share this answer
 
Comments
mani.kishore.asp.net 8-Nov-12 0:44am    
without ajax...

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900