databinding issue in 1.1 fwk

D

Dotnet Newbie

Hi all,
I am working on .NET framework 1.1

While binding data to our master table in the database, we are using this
System.Data.Relatedview class. But the issue is, it does not appropriately
update data. The databinding is failing too.

I traced down the issue to this particular class by manual debugging. I
could also see a similar unanswered post in the same newsgroup :

http://groups.google.co.in/groups?h...resent+the+&ie=UTF-8&hl=en&btnG=Google+Search

Does anyone know if this is a known issue, or ir there is a fix available by
MS for the same ?
Any pointers are welcome.
Regards.
 
G

Guest

Hi,
The reason for this is that whenever we are inserting a row into the parent table, it causes the table to be in edit mode. When editing the child table, the parent table should not be in editmode. Hence you really need to use CurrencyManager.EndCurrentEdit() before adding any rows to the child table.
The solution is documented in the KB article at
http://support.microsoft.com/?id=816227
 

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.

Ask a Question

Top