Search criteria problem.
Posted on 2004-04-30
I am hoping someone can help me, i am fairly new to VB.NET and have the following problem:
I have a form that has a number of textbox's and combobox's, the user enters the details they want on the form and then press's search, i want to have a search class that i can pass in the criteria to and read the database and pull back the information based on the criteria the user entered on the form. I wanted to use a stored procedure. But how would the storedprocedure know what is getting passed from the form as the user could select different criteria to search from on the screen.
If you could help i would really appreciate it !
Thanks in advance