All, I am trying to write me an application using visual studio 2005. My back-end database for the application is mysql.

I've found some code examples online and been able to get it working with both reading from the database and writing to it. However, the examples I find does not work completely. However, this is what I have so far for inserting into the database:
http://www.pastebin.org/46947

Can this be done a bit more elegantly?

I also use this code to populate the items of a listbox, but I have no idea how to use it to be able to select an entry and open it based on the entry ID.

http://www.pastebin.org/46948

What I would like to do with this listbox is to be able to list a readable entry and then select it and open a form to edit its values...

Recommended Answers

All 2 Replies

You might want to take a look at my blog. In all my VB.NET applications, I have connected to MySQL.

http://dotnet.tekyt.info

Thank you, looks promising :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.