BigSi Posted February 6, 2003 Posted February 6, 2003 Hi, Im trying to get used to vb.net after using vb6 and am having trouble accessing an MS ACCESS database - Im trying to display results of a query in a listbox on a windows form. In VB6 I managed to do this by adding 2 things (its been a while!) to a form, one was a list box, and the other was a data controll which I believed the list box refrenced - I cant seem to remember how I done it, especially as I now have .net infront of me which is really confusing to start with - it took me a while to work out how the simple task of opening a new form was to be done. I'd appreciate any help!!! thanks, Si Quote
Cywizz Posted February 6, 2003 Posted February 6, 2003 Hi There's different ways of doing this, depending on your design. I suggest you look at some of the data access walkthroughs, e.g. Walkthrough: Simple Data Access in a Windows Form --------------------------------------------------------------------- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughDisplayingDataFromSingleTableInWindowsForm.asp Walkthrough: Creating a Master-Detail Windows Form --------------------------------------------------------------------- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughCreatingMaster-DetailWindowsForm.asp Walkthrough: Displaying Data in a Windows Form Using a Parameterized Query ----------------------------------------------------------------------------------------- http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbwlkWalkthroughDisplayingDataInWindowsFormUsingParameterizedQuery.asp There's a lot more available Hope it helps Quote Howzit??
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.