Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Data Binding / December 2004

Tip: Looking for answers? Try searching our database.

When binding status changes?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paschalis Pagonidis - 01 Dec 2004 14:28 GMT
Hi all,

I bind few controls (textboxes & radio buttons) to a
datasource.

When datasource is filled for a second time by an adapter,
IsBinding value of controls' Bindings property turns to
false.

All binding properties are set on both fills
(BindingField, PropertyName, DataSource).

Is there a general situation when a control loses its
binding?

tnx,
Pascal

P.S. I use few calculated columns in the table, whose
expression property is set each time before Fill() is
called. I don't know if that causes any problems.
Paschalis Pagonidis - 01 Dec 2004 14:56 GMT
Hmm, weird...

I've commented the code that sets the columns' expression
property, and now binding works fine.

But the problem is that controls' properties must be bound
to calculated columns, so I really need those.

>-----Original Message-----
>Hi all,
[quoted text clipped - 19 lines]
>called. I don't know if that causes any problems.
>.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.