In MS Access, I can use the following SQL statement in a query to show data from 2 tables. If I make a change in the results then these changes are applied to the 2 tables.
I have created a form in VB.NET and connected a dataset using the wizard to the Access database and am able to view the data from the SQL statement in a Datagrid. The problem is how can I modify the data in the Datagrid so if I make a change the changes are saved to the 2 tables as what was happening if I was working directly in Access.
Thanks
Don
VB.NET:
SELECT tblMetrics.ID, tblMetrics.Username, tbProjectNames.Project, tblMetrics.Proj_Schedule, tblMetrics.MetDate, tblMetrics.DFT, tblMetrics.LDFT,
tblMetrics.DWIFT, tblMetrics.DTC, tblMetrics.LDTC, tblMetrics.DWITC
FROM (tblMetrics INNER JOIN
tbProjectNames ON tblMetrics.ProjID = tbProjectNames.ProjID)
I have created a form in VB.NET and connected a dataset using the wizard to the Access database and am able to view the data from the SQL statement in a Datagrid. The problem is how can I modify the data in the Datagrid so if I make a change the changes are saved to the 2 tables as what was happening if I was working directly in Access.
Thanks
Don