943,540 Members | Top Members by Rank

Ad:
Oct 26th, 2008
0

Database Grid View BUT WHICH ONE???

Expand Post »
I have a database all up and working and now need to create a grid view.

I am very new to VB and have been using the book Visual Basic in easy steps by Tim Anderson. On page 108 it describes how to create a grid view. In the text he says to use 'Microsoft Data Grid Control' but the image in the book shows 'Microsoft Data Bound Grid Control 5.0 (SP3)'.
The options in my version is slightly different, the closest one in my version is 'Microsoft DataGrid control 6.0 (OLEDB)' But whenever I try it I get a...

No compatible data source was found for this control. Please add an OLDEB data source such as the Data Environment or Microsoft ADO Data control to the form or project. error.

I have tried placing an ADODC controller in the frame which is what the above erros implies I need but grid is still blank.

I have also tried using the 'Microsoft FlexGrid Control 6.0 (SP6)' which does work but I am not sure if this is what I should be using???

Most confused.

Where am I going wrong?

Many thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Entropy1024 is offline Offline
20 posts
since Oct 2008
Oct 26th, 2008
0

Re: Database Grid View BUT WHICH ONE???

Have you connected the ADODC control tot he database and the grid to the ADO contol by selecting from the propeties.
Featured Poster
Reputation Points: 665
Solved Threads: 427
Posting Genius
debasisdas is offline Offline
6,406 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Sorting a .mdb database by date?
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Some help with a VBA solution





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC