search

Posted by Pokuri31 under C# on 12/13/2008 | Views : 1263 | Status : [Member] | Replies : 2
hi friends,

I have a problem , when i am enter one text in textbox ex:a , then i click submit button , after submitting,
it will shows all the names from the database and shown in listbox.




Responses

Posted by: Jayakumars on: 9/30/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

use search like query for this.

Mark as Answer if its helpful to you

Pokuri31, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 12/14/2008 [Administrator] HonoraryPlatinum

Up
0
Down
Following article has a method called BindDate(), you can use that method and pass your SQL statement instead of written in that method and bind your ListBox instead of GridView (in this method).

You may need to specify DataTextField and DataValueField of the ListBox to populate data properly.

http://www.dotnetfunda.com/articles/article29.aspx

Thanks


Regards,
Sheo Narayan
http://www.dotnetfunda.com

Pokuri31, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response