benjamin
Member
Hi,
I'm trying to connect an interbase database using updateable datatables (connected to a datagrid).
Currently i have to access it using their dll's
Dim conInput As New BdpConnection
Dim cmdInput As BdpCommand
Dim rdrInput As BdpDataReader
Then i attach the datareader into the datatable and return (from a function taking an sql query).
Then allocate the datasource to the datagrid.
This works fine - displays no problem in the grid.
However, I want to be able to update the datatable back to the interbase database.
Normally i would have a dataset with a datatable (for sql connections), but am finding this difficult via pure code.
Am wondering what is the best way to do this. Should i keep looking to declare a table adapter (somehow?) or pass the altered datatable back to some function to manually go through each record and update?
Any help appreciated.
I'm trying to connect an interbase database using updateable datatables (connected to a datagrid).
Currently i have to access it using their dll's
Dim conInput As New BdpConnection
Dim cmdInput As BdpCommand
Dim rdrInput As BdpDataReader
Then i attach the datareader into the datatable and return (from a function taking an sql query).
Then allocate the datasource to the datagrid.
This works fine - displays no problem in the grid.
However, I want to be able to update the datatable back to the interbase database.
Normally i would have a dataset with a datatable (for sql connections), but am finding this difficult via pure code.
Am wondering what is the best way to do this. Should i keep looking to declare a table adapter (somehow?) or pass the altered datatable back to some function to manually go through each record and update?
Any help appreciated.