Click here to Skip to main content
12,764,177 members (38,581 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET SQL
without ajax using jquery

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

Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
       If GridView1.Rows.Count <= 0 Then
           Label1.Text = "NO RECORDS FOUND";
           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 7-Nov-12 18:19pm
Updated 8-Nov-12 17:19pm

1 solution

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

Solution 1

Comments 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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
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