|Ok, perhaps i didn't explain my situation that well...rubbish wording on my part!|
A different approach:
I'm using VB.NET Express 2010 and have created a table from within which has created an mdf file.
If i drag a label and a button onto a form, how can i have that label show a particular tables column value, depending on which record is selected?
I know i can simply go to the labels properties and set the binding source > text option, and it will do the same thing (without having to press any buttons), but i can't figure out how to write it in code!
I want to be able to pick out certain bits of data from my db table and display it and use it where i like. I did try to view the code generated by VB when doing it via properties, but i can't find it - where can i find this?
Any help greatly appreciated, as this is driving me mad!