PC Review


Reply
Thread Tools Rate Thread

databinding issue in 1.1 fwk

 
 
Dotnet Newbie
Guest
Posts: n/a
 
      28th Jul 2004
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?hl...oogle%2BSearch

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.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2F0aXNoIEguUw==?=
Guest
Posts: n/a
 
      2nd Aug 2004
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

"Dotnet Newbie" wrote:

> 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?hl...oogle%2BSearch
>
> 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.
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
databinding issue Rick Microsoft Dot NET Framework Forms 0 12th Jul 2007 02:35 AM
databinding issue Johan Jooris Microsoft Dot NET Framework Forms 0 21st Apr 2005 09:00 PM
databinding issue in 1.1 fwk Dotnet Newbie Microsoft Dot NET Framework 1 2nd Aug 2004 01:33 PM
databinding issue in 1.1 fwk Dotnet Newbie Microsoft Dot NET Framework Forms 1 2nd Aug 2004 01:33 PM
C# Databinding Issue Jeff Microsoft Dot NET 0 13th Jan 2004 03:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:07 PM.