Ask the Expert

How to set the ADODC connection to an Access datagrid

How do I set the connection using the ADODC connection to an Access datagrid? I tried to use the OLEDB connection and it seemed I got the connection string working, but I still have no idea how to set the connection to the datagrid. I am proficient with VB but i still find it hard to get things done in visual C#. Please help, thanks a lot!
I am not all that familiar with database usage. However, it sounds like you are having trouble using databinding with the datagrid control. Check out this link in the MSDN Library and use it as starting point for your efforts. You should be able to bind the datagrid to several different datasources. I hope this helps or gets you on the right track. Good luck!

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskbindingthedatagridcontroltoanadodataset.asp

This was first published in August 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: