Okay, i'm using SQL and import System.Data.SqlClient..

and i always have to specify the Command type...

ie:

newrecord.CommandType = CommandType.Text