Newbie, Updating Records

Hello,

I'm quite new to .Net/C# in VS2005. Having years of experience in Delphi/Vcl environment blocks me here.

I've created a grid that allows me to search in data, when selecting a record in that grid i'm updating another tableadapter to select the complete details of this record. In the search only the descriptions are selected. This works fine. The data is displayed with textboxes that have databinding. I've even (by test) attached a datanavigator to the 'editing' tableadapter. Whenever i change a value in a textbox, and than press the V-ok button of the navigator, or my own button that starts a

this.productsTableAdapter.Update(this.dsProductMaintenance.Products);

There are no updates send to the database. The table adapter and binding sources are created by using an xsd datasource. On that datasource the Products table has in the advanced options the 3 options (generate insert... use optimistic... and refresh the ...) flagged.

The Fill a datatable, return a datatable and the create methods to send upd d.. are also flagged

What am i doing wrong, or what picture am i missing.

Honestly, i'm quite used to the .Edit and .Post methods on the Delphi environment, so it might be i'm missing something here.

Kind Regards



Answer this question

Newbie, Updating Records