You make me crazy (not really) , can you try this one?
m_dsFields.Tables(0).Rows.Add(m_dsFields.Tables(0).NewRow)
Dim dtChanged As New DataTable
dtChanged = m_dsFields.Tables(0).GetChanges(DataRowState.Added)
messagebox.show(dtChanged.Rows.Count.ToString)
Cor,
For your information, the Flygrid control HAS a bug, which is DataAdded
can't be used at the moment with GetChanges. It will be fixed in the
next release according to the guys who developped it. So much time
spent on this crap for nothing.... sorry.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.