Try entering in the connection and sql statement manually...it has been a while since i have done it (i wrote a library to do DB stuff) but i think there is a cmd.connection variable and a cmd.command or something like that also double check to make sure that you have all you column names correct cause if not then it will throw an error...also use the database connection toolbox to create a connection to your DB and then go to the connection properties to get the connection string that it creates. I will try to post back later with the code I used to perform an executenonquery.