It would appear that you have a PEBKAC error going on.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
Use a SqlCommand for the actual sql text, and use a SqlConnection for the connection to the database. A simple search will reveal millions of hits on these topics. You need to use the ExecuteNonQuery method for your command.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington