The simple data bind code that I use is
f1.txtStudID.DataBindings.Add("Text", mydataset.Tables[0], "StudentID");
The code compiles ok, but am not sure that the actual binding works, as nothing shows in the bound text box to the source code ( "StudentID").
Can someone tell me where am going wrong or how to show the values in the text box on the form that corresponds with the relevant source code property.
Thanks
Mark
Dinesh TawarPosted Jun 9, 2006, 6:49 AM
textBox1.DataBindings.Add (New Binding("Text", tablename, "tablename.fieldname"))