Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bound controls
Message
From
07/07/2004 18:25:27
 
 
To
07/07/2004 17:35:51
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00921632
Message ID:
00921704
Views:
22
When the form initializes, I changed a line to:
FormProperty = "";   // got rid of "hello world"
Don't get an exception now, but it does not behave as if it is bound.

>Yep, you can bind to a property ... but make sure it's a public *property* (with a get/set) and not simply a field (public or otherwise).
>
>MyTextBox.DataBindings.Add("Text", this, "MyProperty");
>
>
>~~Bonnie
>
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform