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.comwww.prenia.comWeblog: blogs.prenia.com/cathi