jake3340
Supreme Member
- Nov 20, 2008
- 1,439
- 437
Okay so im having a bit of a problem finding out how to this properly. I set up a database on localhost using wamp and I need to connect via visual C# on a windows form application to the database and get info from the database and set it as a variable, for example
1) Program connects to database.
2) Program gets the very last row on the table.
3) program gets info from all columbs and sets the info as variable.
How can i get this done, does anyone have any example code please cause the ones im finding on the net is ones that connect to a database created via visual c# not the one in wamp.
1) Program connects to database.
2) Program gets the very last row on the table.
3) program gets info from all columbs and sets the info as variable.
How can i get this done, does anyone have any example code please cause the ones im finding on the net is ones that connect to a database created via visual c# not the one in wamp.