Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey. i have a menu control with items that i put in manually. It is not bound to the database. I also have a checkboxlist control with items that i again put in manually and is also not bound to the database. I do have the required tables in the database for when the user has to input and store the data in the database. But how do i code the search in vb 2010? the database is already quite complex and im trying to avoid putting in too many tables in it. To better the initial question and too add clarity, the menu control has a list of areas that a user has to choose to search for a service provider and the checkboxlist has jobs example tiler, builder etc. When the search button is clicked, the datagrid must show the required information.

thanks
Posted
Updated 11-Sep-11 5:52am
v3

1 solution

You need to write Stored procedure with a search logic to do the search based on the input that user would provide on the form through checklistbox. Read through some of the basic articles on how to create stored proc and putting joins on tables.
 
Share this answer
 
Comments
thasmeel 12-Sep-11 8:07am    
Im trying to do the stored procedures but im getting endless errors. I have 4 variables: name, phone number, location and skills. those 4 things are to be displayed in the datagrid. I have the same things in the database. How do i code this? Visual studio is also giving me errors with connecting to the database and other stuff. please help. very desperate.
Pradeep Shukla 12-Sep-11 15:53pm    
It's a very basic stuff, go through this article: http://www.codeproject.com/KB/cs/simplecodeasp.aspx

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