all groups > dotnet windows forms databinding > december 2004 >
You're in the

dotnet windows forms databinding

group:

When binding status changes?


When binding status changes? Paschalis Pagonidis
12/1/2004 6:28:40 AM
dotnet windows forms databinding:
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
When binding status changes? Paschalis Pagonidis
12/1/2004 6:56:16 AM
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.


[quoted text, click to view]
AddThis Social Bookmark Button