E
ewpatton
Good day,
I've been trying to work with SQL and an Access database in order to
handle custom user profiles. I haven't had any trouble reading from my
database, but inserting new entries into it has been troublesome to
say the least.
My ASP.NET script is supposed to execute an INSERT INTO statement in
order to add a user to the database. Here is a sample:
INSERT INTO LoginInfo (username, password, datafile) VALUES ('a',
'0cc175b9c0f1b6a831c399e269772661', 'H:\CommConn\userdata\a.xml')
This structure comes from http://www.w3schools.com/sql/sql_insert.asp
Everything seems valid, but ASP still throws an error stating that the
syntax of the statement is invalid. Could someone point out where the
'syntax' error is?
Evan
I've been trying to work with SQL and an Access database in order to
handle custom user profiles. I haven't had any trouble reading from my
database, but inserting new entries into it has been troublesome to
say the least.
My ASP.NET script is supposed to execute an INSERT INTO statement in
order to add a user to the database. Here is a sample:
INSERT INTO LoginInfo (username, password, datafile) VALUES ('a',
'0cc175b9c0f1b6a831c399e269772661', 'H:\CommConn\userdata\a.xml')
This structure comes from http://www.w3schools.com/sql/sql_insert.asp
Everything seems valid, but ASP still throws an error stating that the
syntax of the statement is invalid. Could someone point out where the
'syntax' error is?
Evan