This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm using a database for the first time and am trying to extract the columns I created I can make the connection but I can't figure out how to get the columns I have out and then get them assigned to appropriate variables any code examples or weblinks would be much appriciated
We need a little more details before your question can be answered.
Which database are you using? Are you connecting to it through another program, like a database GUI or front-end? If so, which one?
Or, are you trying to access the database programatically?
You may want to try the users forum of the database you are using, if there is one. They should be able to tell you how to access the differnt elements of the database you are using. These methods of access change depending on the database you are using.
Joined: Feb 16, 2004
I am using SQL Server and I have two tables that I joined with one common named column which is the primary key value on both tables
I have three files going my GUI file my connectDB file which is where I got the code above and I am trying to write a file that gets the info from the connectDB file and gives it to the methods in my inventGUI file put as I said I don't know how to get data from the columns once I connect