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
 
Do you get an error? Does the underlying database field definition allow
nulls?

Jeff
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top