
February 12th, 2004, 09:01 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
syntax error when inserting multiple values
ok my code works when i am inserting only one thing like this
myCommand = New OleDbCommand("Insert INTO Table1 ( Name) Values ( 'gdsa')", myConnection )
but it wont seem to work with multiple values.
myCommand = New OleDbCommand("Insert INTO Table1 ( Name, Password ) Values ( 'gdsa', 'higdgdhi')", myConnection )
can someone help me? thanks
|