Databinding Error

Databinding Error

Old forum URL: forums.lhotka.net/forums/t/4810.aspx


Husker Dan posted on Tuesday, May 06, 2008

Good Day All,

I am having more databinding issues. I am trying to set the DataSource value of a BindingSource object to null using the following line of code.

Me.UserFieldDefinitionSafariBindingSource.DataSource = Nothing

When I do this I get an exception stating that one of the properties can't be bound. The particulat property is bound to a UI check box.

Can I not set the data source to nothing?

Thanks!

Copyright (c) Marimer LLC