How do you update a base table after changing the contents of a cell in C1TrueDBGrid. This is only my second try at VB.NET. I’ve used TrueDBGrid in VB6 and as long as the allow updates was true the data base would update. It appears that with C1 I need to write more code for this to happen, but what? Here is the code I’ve tried in both the AfterColUpdate and AfterUpdate.
ds = New DataSet
C1TrueDBGrid1.UpdateData()
ds.Tables.Add("tblTransactions")
adp.Update(ds, "tblTransactions")
The grid is filled from two tables using SELECT with an INNER JOIN. The ‘tblTransactions’ is one of the two tables and the only one that needs updating
ds = New DataSet
C1TrueDBGrid1.UpdateData()
ds.Tables.Add("tblTransactions")
adp.Update(ds, "tblTransactions")
The grid is filled from two tables using SELECT with an INNER JOIN. The ‘tblTransactions’ is one of the two tables and the only one that needs updating