Updating an mdb database table

Cazpa

New Member
I'm building a simple site using .NET Web Forms and a \[code\].mdb\[/code\] database as the data source.The problem is: I have a working backsite trough which I can create, modify and delete a new page.While I can create and delete, the editing feature doesn't work.I realized the problem might be in the query since the code is working fine for the other features.Here is the query:\[code\]UPDATE pages SET title=\"" + pa.title + "\" content =\"" + pa.content + "\" WHERE id=" + pa.id\[/code\]I'm not very fond of SQL, am I doing something wrong?Thank you in advance
 
Top