datagridview/dataset ?

I'm loading a datagridview from a dataset and making edit's/adds/deletes to the datagridview and the dataset is getting updated properly but I cannot seem to figure out how the .DATAROWSTATE in the dataset gets changed to .modified - all rows in the dataset keep coming back "ADDED" IN THE ROW STATE? .HasChanges is true??

What can I do to the dataset to change the .rowstate in the dataset??
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
After loading the data, call the AcceptChanges method on the DataTable.

If you have only one DataTable in your DataSet, you do not need a DataSet. You might want to read my article on the subject.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MBHEY131Author Commented:
I WENT THE datagridview way in the showingeditcontrol or something like that - i needed a form level variable and all indexes on the view in the keypress event I just set IsDirty to true vary little code and so far so good! thanx for the article I will read it and keep it in mind
MBHEY131Author Commented:
yeah - I read your article and I know that (NOW), I came from Foxpro 2.6, to VB 6.0 and now at VS 2012 - I was fairly proficient in 2.6 and did  a couple of small projects in 6.0 - I am updating my old foxpro 2.6 to vs 2012 and have about 15000 lines of code that can be easily condensed in half now that I am familiar with classes, structures, data sets,tables,bases but I don't think my customers will give me much more time for the upgrades - thanx a lot for the info.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.