Hi
I have a WPF form bound to a CollectionViewSource which is filled by a dataset table adapter.
This works well - I can navigate through the records and save changes back to the DB.
I used this walkthrough in building this :
http://msdn.microsoft.com/en-us/library/vstudio/dd547149.aspx
I have a button on the form to add new record/row.
I've managed to add a new row to the dataset by setting the fields in the code behind with literal values.
.. newrow.fields="...";
aPIntegrationDataSet.Jobs.Rows.Add(newrow);
aPIntegrationDataSetJobsTableAdapter.Update(aPIntegrationDataSet.Jobs);
Now I want to try and get the new row data from the WPF form. Of course as this is bound I'm not sure how I can do it.
What is the solution to this problem? I'd appreciate help with code as I'm quite new to C#
Lee Hawthorn ACMA, CGMA View my Performance Management blog at leehbi.com