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!


This was first published in August 2004

Dig deeper on C# programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.



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: