G
Guest
I have a text box that I'm using to store the key to the underlying data
table. However, when I attempt to bind the text box to it's data source, I
receive an argumentexception. I have other data bindings that work perfectly
but this one text box is causing all my problems. The real kicker is this is
the key to the data source and I need it to update the data source. The
following line of code produces the argumentexception violation.
tboxOEDocId.DataBindings.Add("Text",dtPickDtl,"oe_doc_id");
NOTE: the "oe_doc_id" is a guid in the data table dtPickDtl. The other
data bindings work well but are not guids.
table. However, when I attempt to bind the text box to it's data source, I
receive an argumentexception. I have other data bindings that work perfectly
but this one text box is causing all my problems. The real kicker is this is
the key to the data source and I need it to update the data source. The
following line of code produces the argumentexception violation.
tboxOEDocId.DataBindings.Add("Text",dtPickDtl,"oe_doc_id");
NOTE: the "oe_doc_id" is a guid in the data table dtPickDtl. The other
data bindings work well but are not guids.