Avatar of MDWinter
MDWinter

asked on 

Read a MySQL query in Visual Basic 2008

Hi,

I have downloaded visual basic express 2008.

We have a mysql database that contains the information I need.

I want my (console) app to connect to the database with the correct credentials and execute a query.

One of the columns in my query contains an email address - I want to 'loop' through the results and for each line send an email, addressed to "column1" beginning with "Dear column2"

Actually sending the email isn 't that difficult - but can anyone post some reasonably 'idiot-proof' instruction on how to handle the sql connection / send the query / use the data?

Thanks.
Microsoft DevelopmentMySQL Server

Avatar of undefined
Last Comment
MDWinter

8/22/2022 - Mon