M
mick
I have a property "TotalCost" of type int and a TextBox "tbTotalCost" in the
main form "Form1"
and was wondering how to bind one to the other
tbTotalCost.DataBinding.Add("Text",this.TotalWinnings, erm);
First peram. should be Property Name but in the examples Ive seen it usually
has "Text". Guessing its because it is the Text property of the TextBox?
Second peram. should be object DataSource. That the propery?
Third should be DataMember. Erm...
Flailing around a bit as you can see.
mick
main form "Form1"
and was wondering how to bind one to the other
tbTotalCost.DataBinding.Add("Text",this.TotalWinnings, erm);
First peram. should be Property Name but in the examples Ive seen it usually
has "Text". Guessing its because it is the Text property of the TextBox?
Second peram. should be object DataSource. That the propery?
Third should be DataMember. Erm...
Flailing around a bit as you can see.
mick