In VB 2003, the code generated for data binding could be viewed under
coding panel. But for 2005, Is there any chance to view these code
behind?
Since you specify genenerated code, I suspect you are refering to Winforms.
You can still access the generated section by selecting to "View all files"
in your solution. You will then find a myForm.Designer.vb file which includes
the same code. If you have bound the control, you will see code associated
with your control like this:
Me.SampleTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text",
Me.MyBindingSource, "PropertyName", True))
You can tweak this to specify formatting options and when the binding should
be applied (onValidation, onChange, etc).
Jim Wooley