Bind an Integer Property

  • Thread starter Thread starter João Santa Bárbara
  • Start date Start date
J

João Santa Bárbara

Hi all
i have made one control, and one of the properties is an integer property.
when i made the bind of that property with the view, is does not alow to be
null? is there any solution ?????
but i need this property to be null.

EX

Public Property MyProp () as integer
...........
Me.UltraLabel1.DataBindings.Add("MyProp", xView, "xField")

thks
JSB
 
Yes the database allow null, but the problem is when i do
"Me.UltraLabel1.DataBindings.Add("MyProp", xView, "xField")" it gets an
exception..

JSB
 
And the error message is?

João Santa Bárbara said:
Yes the database allow null, but the problem is when i do
"Me.UltraLabel1.DataBindings.Add("MyProp", xView, "xField")" it gets an
exception..

JSB
 
Back
Top