Hi Victoria,
I would recommend using the methods on the DataTable itself instead of the BindingContext object. There are some known bugs that can cause inconsistencies with the CurrencyManager to add and cancel changes.
>I want to add new record to my dataset.
>
>I'm confused, should I use
>myDataTable.NewRow()
>OR
>Me.BindingContext(myDataSet, myMainDataTable).AddNew()
>
>Also what to use to cancel the newly added record?
>myDataTable.RejectChanges()
>OR
>Me.BindingContext(myDataSet, myMainDataTable).CancelCurrentEdit
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi