Link to home
Start Free TrialLog in
Avatar of PNRT
PNRT

asked on

VB.Net - Connecting a datagridview to an access database

Hi Experts.   In VB.net, I have a datagridview and have set the binding source to bindingsource1 and a BindingNavigator also connected to bindingsource1.
I then have bindingsource1 connected to a dataset which connect successfully to an small Access Database.   All these connections are made under properties.  When I run the program I get nothing in the Datagridview.  Shouldnt I get the databse data appearing in the Datagridview?    
ASKER CERTIFIED SOLUTION
Avatar of Deepak Lakkad
Deepak Lakkad
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PNRT
PNRT

ASKER

Still the same I'm afarid.  If I disconnect bindingsource1 from the dataset then the DGV and the navigator work OK together, but as soon as I add the dataset to bindingsource1, the DGV and the navigator are all greyed out.  Thanks for the reply