I have an initial form that has a datagridview which should be readonly. Double clicking an item opens a new form which displays more data and allows editing.
However, the query to get some of the data fails to return any records. But if I remove the code that populated the DGV on the first form the records on the 2nd will query correctly.
Is there anyway to set datatables/datasets to readonly, or at least locktype to optimistic like adodb has?
Start Free Trial