Node_Pointer
Limp Gawd
- Joined
- Mar 26, 2002
- Messages
- 313
Here is my code
'-- Create and issue an SQL command through the database connection
SQLString = "Insert Into login ( username, password ) Values ( '@username', '@password' )"
DBCommand = New OleDbCommand(SQLString, DBConnection)
DBCommand.Parameters.Add( "@username", username.Text)
DBCommand.Parameters.Add( "@password", password.Text)
DBConnection.Open()
DBCommand.ExecuteNonQuery()
DBConnection.Close()
Apparently there is a problem with my INSERT INTO statement.
WHAT THE PROBLEM IS?
thanks
'-- Create and issue an SQL command through the database connection
SQLString = "Insert Into login ( username, password ) Values ( '@username', '@password' )"
DBCommand = New OleDbCommand(SQLString, DBConnection)
DBCommand.Parameters.Add( "@username", username.Text)
DBCommand.Parameters.Add( "@password", password.Text)
DBConnection.Open()
DBCommand.ExecuteNonQuery()
DBConnection.Close()
Apparently there is a problem with my INSERT INTO statement.
WHAT THE PROBLEM IS?
thanks