Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi, today I am asking how would a search be implemented for a web form inside Visual Studios? For example, I am using Access Database & I want to search for "Chocolate" & it would give me a gridview of "Chocolate" products. Thanks.
Posted
Comments
[no name] 8-Jul-13 10:43am    
What have you tried?
Member 10058287 8-Jul-13 11:40am    
Imma clueless thats why i asked here

1 solution

You would need to use the SQL Select[^] statement to find records that match your search string. However, given that you say you are "cluelkess", maybe you do not actually have a databse set up yet. Try the Database articles section[^] for useful ideas.
 
Share this answer
 
Comments
Member 10058287 9-Jul-13 3:03am    
What I wanted to do is to use something like this http://www.techonthenet.com/access/queries/parameter3.php

& show a textbox & button to search on the website & for the detailsview to show the items.
Richard MacCutchan 9-Jul-13 4:10am    
So what is your actual problem?
Member 10058287 9-Jul-13 6:27am    
On how to put that parameter onto a Visual Studio Webform & replicating what is done in that article; except in a VS environment
Richard MacCutchan 9-Jul-13 6:57am    
You need to research the use of Autocomplete features in web forms. Again, there are plenty of references and articles that Google will find for you. Also remember that Visual Studio just provides a few extra tools to build your application; there is nothing to stop you from doing it the old fashioned way of writing the code.

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