Solved

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

Posted on 2011-02-18
1
374 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
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…
Familiarize people with the process of utilizing SQL Server stored procedures 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 Micr…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

948 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

18 Experts available now in Live!

Get 1:1 Help Now