|
-
Apr 23rd, 2005, 02:37 AM
#1
Thread Starter
New Member
Updating Access DB
Hey,
I'm having quite a bit of trouble updating an access database from withing ASP.net using VB.net.
I tried this simple query to update the database:
DBConnection.Open()
Dim dbCommand1 As New OleDbCommand("UPDATE DST_Users SET UserPW='" & newPassword & "' WHERE Username='" & in_username & "'", DBConnection)
dbCommand1.ExecuteNonQuery() 'causes an error at this line
DBConnection.Close()
The error is: Operation must use an updateable query
How do i fix the problem?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|