View Single Post
Old Feb 16th, 2008, 3:24 PM   #4
ScottyB
Newbie
 
ScottyB's Avatar
 
Join Date: Feb 2008
Location: Toowoomba, Australia
Posts: 7
Rep Power: 0 ScottyB is on a distinguished road
Re: Insert command just doesn't work.

Hi,

I think what you will find is that you the cmd.ExecuteQuery statement is throwing an exception, as you have it in a try catch block, but because you are not doing anything with the caught exception the program continues to function. You either need to add some code to your catch block to act on the exception or remove the try catch statements to make the code fail and see the result.

Hope this helps.
ScottyB is offline   Reply With Quote