When editing/updating a database with OleDb – here are two things to make sure of:
- Make sure the defining parameter (ie: Where uid=@uid) in the Where clause is actually getting populated
- When using parameterized queries, OLEDB parameters are positional. Make sure the parameters are defined in the same order as they appear in the SQL update string.