S
Steven Licciardi
Hello,
Can someone tell me how to bind an element in a DataView to a
textbox.text property. I've tried :
aTextBox.DataBindings.Add("Text", aDataRowView_OfADataView, "AttrVal")
But this just returns an error (ArgumentException).
Thanks,
Steven
p.s. I can do : aTextBox.DataBindings.Add("Text", aDataView,
"AttrVal"), but this just binds to the AttrVal column of the first
row, when I would like to choose the row.
Can someone tell me how to bind an element in a DataView to a
textbox.text property. I've tried :
aTextBox.DataBindings.Add("Text", aDataRowView_OfADataView, "AttrVal")
But this just returns an error (ArgumentException).
Thanks,
Steven
p.s. I can do : aTextBox.DataBindings.Add("Text", aDataView,
"AttrVal"), but this just binds to the AttrVal column of the first
row, when I would like to choose the row.