M
mal
Hi,
I have binded a textbox at runtime to a dataset in the form load using:
textBox2.DataBindings.Add("Text",dataSet41,"status.name");
I have a datagrid that is bound to the same dataset and
I want the textbox to display the "name" column of whatever row is
currently selected on the datagrid.
The textbox displays the correct value from the first row (name) of the
datagrid on loading, but my prob is that it wont update (the first value
stays there) as i change the selected row on the datagrid.
Plz help this one has been annoying me for a while and I have searched
hard on msn, google newsgroups etc.
Thanks for any help.
Mal
I have binded a textbox at runtime to a dataset in the form load using:
textBox2.DataBindings.Add("Text",dataSet41,"status.name");
I have a datagrid that is bound to the same dataset and
I want the textbox to display the "name" column of whatever row is
currently selected on the datagrid.
The textbox displays the correct value from the first row (name) of the
datagrid on loading, but my prob is that it wont update (the first value
stays there) as i change the selected row on the datagrid.
Plz help this one has been annoying me for a while and I have searched
hard on msn, google newsgroups etc.
Thanks for any help.
Mal