G
Guest
I want to start using databinding in a new winforms application. I am using
VB.Net 2003. The database has several fields that contain a numeric code
that translates to a text status. For example 1=Open, 2=Closed, etc.
I would like to bind this field to a dropdown combo box. I need the
combobox to display Open, Closed, etc based on the numeric value in the
datarow. Based on their selection, I need the underlying datarow to get a
numeric value returned base on their selection.
Can someone point me to an example of intercepting the bound data before it
gets to a control so that I can change the value and doing the reverse when
it changes in the control.
VB.Net 2003. The database has several fields that contain a numeric code
that translates to a text status. For example 1=Open, 2=Closed, etc.
I would like to bind this field to a dropdown combo box. I need the
combobox to display Open, Closed, etc based on the numeric value in the
datarow. Based on their selection, I need the underlying datarow to get a
numeric value returned base on their selection.
Can someone point me to an example of intercepting the bound data before it
gets to a control so that I can change the value and doing the reverse when
it changes in the control.