Searching a database
-
I have a Access database that I wrote a VB.net program for. I want to set it up so I can seach it using the indexof method. I gotten as far as the listbox,inputbox and the button, but I'm pretty much running around in circles with the code. Anyone know how to do this? BINARY
-
I have a Access database that I wrote a VB.net program for. I want to set it up so I can seach it using the indexof method. I gotten as far as the listbox,inputbox and the button, but I'm pretty much running around in circles with the code. Anyone know how to do this? BINARY
You don't search a database with the
IndexOf()
method, that is for arrays. I suspect that what you are tying to do is to use the controls to select an item so that you can then select the appropriate data from the database. Is this the case? You need to describe what you are doing more clearly so we can help you better.
My: Blog | Photos WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
-
You don't search a database with the
IndexOf()
method, that is for arrays. I suspect that what you are tying to do is to use the controls to select an item so that you can then select the appropriate data from the database. Is this the case? You need to describe what you are doing more clearly so we can help you better.
My: Blog | Photos WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
I want to be able to type a string into an input box or text box that would match itself with a field in the database then show me the results in a listbox. Then by clicking on the list box pull up the entire record. BINARY