Insert statement

Hi gurus

I am on sql2000 and vs2003

Please what is wrong with the following:

dim stringcommand as string

dim command as sqlcommand

stringcommand="INSERT INTO TABLE (COLUMNAME) VALUES('TEXT')"

command= new sqlcommand(stringcommand,conn) ' I already have connection open

command.executenoquery()

I get and the following error

"An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll

Additional information: System error."

Thanks for any help gurus



Answer this question

Insert statement

  • Jenny777

    anyone plase!!!!!
  • Insert statement