Solved

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

Posted on 2011-02-18
1
373 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
1 Comment
 
LVL 62

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now