Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding TextBox to form property
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00761829
Message ID:
00761853
Views:
20
Hi Dan,

The syntax is the typically the following:
textBox1.DataBindings.Add("Text",MyDataSet,"MyTable.PortNumber");
>Can anyone help me with a problem of binding a textBox to a form property?
>
>I have:
>
>textBox1.Bindings.Add(new Binding("text", this, "PortNumber"));
>
>I does not seem to work. I've done it before but I can't remember how.
>
>Thanks,
>Dan
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform