R
Rainer Queck
Hello NG,
for a bunch of controls I am using databinding to conect them to som
object.properies in my application.
Some of these property read the data directly from a dataTable.
If my object changes, I use <BindingSource>.ResetBindings to get the new
data to the controls.
In now have the problem, that the controls wich are bound to properties
that contain DBNull (becaus the underlaying table.column is DbNull) keep
ther old value while others refresh.
I would have expected, that a textbox in this case would show a empty
string, which obviously is not the case.
What is it I am doing wrong?
Thanks for hints and help.
Regards
Rainer Queck
for a bunch of controls I am using databinding to conect them to som
object.properies in my application.
Some of these property read the data directly from a dataTable.
If my object changes, I use <BindingSource>.ResetBindings to get the new
data to the controls.
In now have the problem, that the controls wich are bound to properties
that contain DBNull (becaus the underlaying table.column is DbNull) keep
ther old value while others refresh.
I would have expected, that a textbox in this case would show a empty
string, which obviously is not the case.
What is it I am doing wrong?
Thanks for hints and help.
Regards
Rainer Queck