I have an ADO.NET connection to an Access 2000 DB with 1 table. I have a
Data Grid that shows me all records when I open the Data Grid. In the
program it shall be possible to add rows to the table directly in the
grid, by adding rows. Have tried to code this, but the result is only an
empty new row. The information in the row is lost. Can anybody help?

I have OleDgDataAdapter called 'da', OleDbConnection called 'cn', a
dataset called 'ds1'.

NSR

Re: Datagrid - upgrade / save new rows by Miha

Miha
Thu Dec 04 14:47:58 CST 2003

To update records to database use adapter.Update method.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"Norwall S. Røsvik" <nsrosvik@adsl.no> wrote in message
news:3FCF9214.1020305@adsl.no...
> I have an ADO.NET connection to an Access 2000 DB with 1 table. I have a
> Data Grid that shows me all records when I open the Data Grid. In the
> program it shall be possible to add rows to the table directly in the
> grid, by adding rows. Have tried to code this, but the result is only an
> empty new row. The information in the row is lost. Can anybody help?
>
> I have OleDgDataAdapter called 'da', OleDbConnection called 'cn', a
> dataset called 'ds1'.
>
> NSR
>