I am trying to lock a record from a .mdb with OLEDB
using .NET. How do I do that?
How can I lock an entire table as well?
I am trying to lock a record from a .mdb with OLEDB
using .NET. How do I do that?
How can I lock an entire table as well?
When opening your recordset, you should be able to declare a locking strategy at the record level, either optimistic (meaning the record is locked at update time only) or pessimistic (the record is locked from the begining of the edit process untill update time).
I am not sure you can lock a whole table through oledb connection. Why don't you open it 'read only'?