Bind from DataGridControl
Posted: Mon Jan 03, 2011 10:49 pm
Hi,
i need to bind a in a textbox a value from the DataGridControl for example i have a DataGridControl with 2 columns : CustomerID ,ContactName and 2 TextBox (textBox1 and textBox2) so when in the DataGridControl the PositionChanged i wish bind in the2 textbox the GridControl.Current.ItemArray like this way :
textBox1.Text = CustomerID ;
textBox2.Text = ContactName ;
Do you have any example about this task?
Thanks so much for your attention.
Cheers
i need to bind a in a textbox a value from the DataGridControl for example i have a DataGridControl with 2 columns : CustomerID ,ContactName and 2 TextBox (textBox1 and textBox2) so when in the DataGridControl the PositionChanged i wish bind in the2 textbox the GridControl.Current.ItemArray like this way :
textBox1.Text = CustomerID ;
textBox2.Text = ContactName ;
Do you have any example about this task?
Thanks so much for your attention.
Cheers