Solved

what is the best way to communicate with msft office access using linq in vb.net?

Posted on 2011-02-18
1
380 Views
Last Modified: 2013-11-27
I want send arrays and/or datasets to Access, then retrieve data back and forth and manipulate and work with it using linq in VB.net.

Is linqtosql my only option? what kind of connection do i have to setup? when communicating with excel, not using linq, i use... (i dont believe i can do the same with access)
imports microsoft.office.interop
public class ....
public wb as excel.workbook
0
Comment
Question by:crewcross
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 34930854
Hi crew cross;

Linq queries to MS Access is not supported. The reason for this is that no one has created a driver to convert the queries to native SQL for Accree. To your question, "Is linqtosql my only option?", Linq to SQL will not work because the SQL commands are not the same. If you wish to use Linq with data from MS Access you will need to connect to Access with standard access connection and load a data table with the data then you can use Linq to Dataset to query the data.

Fernando
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question