Answered by:
[:$] Setting a connection

Question
-
User452964888 posted
Hi,
I have tables in Access, in employee.mdb file.
I need to connect to the Data Base.
I'm working with SqlDataAdapter in C# in .Net.
Can someone PLEASE explain or write an example how should I do it??
Thanks ahead,
Yael
Wednesday, April 1, 2009 3:55 PM
Answers
-
User1872574491 posted
Hi,
You can use System.data.oledb for connecting to access database.
There you can get oledbconnection,oledbcommand objects.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 2, 2009 1:19 AM -
User-821857111 posted
You need an OleDbDataAdapter with Access.
http://authors.aspalliance.com/aspxtreme/sys/data/oledb/OleDbDataAdapterClass.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 2, 2009 3:52 PM
All replies
-
User1872574491 posted
Hi,
You can use System.data.oledb for connecting to access database.
There you can get oledbconnection,oledbcommand objects.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 2, 2009 1:19 AM -
User-821857111 posted
You need an OleDbDataAdapter with Access.
http://authors.aspalliance.com/aspxtreme/sys/data/oledb/OleDbDataAdapterClass.aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, April 2, 2009 3:52 PM -
User452964888 posted
Thank you guys, it is working now [:)]
Thursday, April 2, 2009 4:12 PM