in order to execute SQL statements you need to use one of two things.
you either need to use a reference to a .dll file for databases such as MySQL or something similar, or you can use MS's builtin ADO statements.
ADO is very easy to use. i have also used the MySQL extension and that is very easy as well. you just need to have the MySQL service running.