Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MySql Database Queries in VB.Net
#1
Hello! I followed Brandonio's videos on how to create a MySql Database and I have a question. Is it possible to make multiple queries so that a user could sort through the data from the database?
#2
Yes! You can make as many queries as you want! Simply reopen the connection and change the commandText, and you're good to go!
My Blog | My Setup | My Videos | Have a wonderful day.
#3
Thank you! That saved me quite a bit of research! Erm.. Were exactly do you do that?

I also have an issue with the login. I want to switch the login so it recognizes the first two fields of my database "Order Received" and "Customer File Number".

[code]Dim orderreceived As Boolean = True.

I have a feeling that this statement above is stopping the program from running. Is there anyway to make a login accept a field such as "Order Received"?
#4
You are going to want to do that as soon as your first MySQL Query is called!

As for your next problem, do you want to make it so you are looking up a customer file number and getting if the order was received from the MySQL database?
My Blog | My Setup | My Videos | Have a wonderful day.
#5
I want to receive the Order Received data first and then the Customer File Number.
#6
I apologize, but I just don't know exactly what you are asking.. Could you explain exactly what you want to happen in your program?
My Blog | My Setup | My Videos | Have a wonderful day.
#7
I have 38 fields in a MySql database that I wan't to display. But I am converting the program over to this 38 field database. The problem is, the line of code I linked above is stopping the program from running because I have no idea on how to make it Dim a two word expression or variable. Order Received is the first field and I need that line of code to be able to handle the name of the field.


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I read a link from mysql databse??? mnxford 9 33,066 04-12-2013, 06:27 PM
Last Post: brandonio21
  Relationship Database help. Worf 0 7,736 03-06-2013, 09:05 AM
Last Post: Worf
  How do I use Listview to delete MySQL DB records kismetgerald 10 33,896 11-28-2012, 05:19 PM
Last Post: brandonio21
  [SOLVED] MySQL Update Query - What am I doing wrong? kismetgerald 11 43,373 10-18-2012, 07:16 PM
Last Post: brandonio21
  How do I fill my form with MySQL data based on Combobox? kismetgerald 8 26,741 10-14-2012, 09:05 PM
Last Post: brandonio21
  Help with creating an INSERT statement using MySQL kismetgerald 4 16,777 08-30-2012, 03:03 PM
Last Post: brandonio21
  MySQL Database Issue Moldraxian 7 29,075 08-13-2012, 08:58 PM
Last Post: brandonio21
  How to Package MySql Connector and MySql Program? Moldraxian 3 14,777 07-20-2012, 12:23 PM
Last Post: brandonio21
  MySql Help Blackrobot 3 14,637 04-06-2012, 03:49 AM
Last Post: xolara
  VB and MySQL help please Chad1020 2 12,262 03-21-2012, 04:10 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)