473,396 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to connect to MS Access....

How to connect to MS Aceess using vb.net & .Net Framework 1.1?
System.Data.Odbc or

System.Data.SqlClient ?

What is the rightway of doing this?

Thank you,

Pete


Feb 25 '06 #1
5 1025
Pete,

System.Data.OleDb

Kerry Moorman
"Pete Smith" wrote:
How to connect to MS Aceess using vb.net & .Net Framework 1.1?
System.Data.Odbc or

System.Data.SqlClient ?

What is the rightway of doing this?

Thank you,

Pete



Feb 25 '06 #2
Hello,

The correct namespace is Microsoft.Data.OleDB

Regards
Cyril Gupta
Feb 25 '06 #3
Thank you for the reply.
What about "System.Data.Odbc" ?
Pete
"Cyril Gupta" <no****@nospam.com> wrote in message
news:Oi****************@TK2MSFTNGP12.phx.gbl...
Hello,

The correct namespace is Microsoft.Data.OleDB

Regards
Cyril Gupta

Feb 27 '06 #4
On Mon, 27 Feb 2006 08:54:10 -0800, "Pete Smith" <Pe*********@hotmail.com> wrote:

¤ Thank you for the reply.
¤ What about "System.Data.Odbc" ?
¤ Pete

No, don't use it as the basis for your application. That would require the MS Access ODBC driver
which isn't as stable at the Jet OLEDB Provider.
Paul
~~~~
Microsoft MVP (Visual Basic)
Feb 27 '06 #5
Thank you for the suggestion.
Pete

"Paul Clement" <Us***********************@swspectrum.com> wrote in message
news:d5********************************@4ax.com...
On Mon, 27 Feb 2006 08:54:10 -0800, "Pete Smith" <Pe*********@hotmail.com> wrote:
¤ Thank you for the reply.
¤ What about "System.Data.Odbc" ?
¤ Pete

No, don't use it as the basis for your application. That would require the MS Access ODBC driver which isn't as stable at the Jet OLEDB Provider.
Paul
~~~~
Microsoft MVP (Visual Basic)

Feb 27 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: James Kupernik | last post by:
Hello everyone! I'm hoping someone can shed some light on my ever daunting mysql/php problem. I'm currently trying to get a new server up and running using apache/php/mysql. Everything runs...
0
by: chris | last post by:
Hi, I try to connect to Access with php with te code below. The database and table are ok. <?php include('../adodb/adodb.inc.php'); $db =& ADONewConnection('access'); $dsn =...
5
by: Kona | last post by:
Hello, Is it right to tell that DB2 Connect has the same function that Oracle Net ? If I have an ODBC application is it also right to tell that I have 2 possibilities on my client workstation to...
11
by: Marcus | last post by:
Hello! I'm trying to write a VB.NET program that connects to a AS/400 Server. I've tried almost everything, but it will not connect. I've tried to set up a DSN using the Client Access...
5
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit...
1
by: Dave | last post by:
I am trying to learn .NET with the standard edition of VC++.NET 2003 Standard edition. When I use the wizard in the toolbox to connect to a non-microsoft ODBC data source, I get the error message...
3
by: Laurence | last post by:
Hi there, Does somebody know the efficent way to connect DB2/400? Through iSeries Access ODBC/OLEDB driver or DB2 Connect? Which will more fast and efficent? In addition, does DB2 Connect use...
2
by: vikas.bhatia | last post by:
Is this still true? http://groups.google.com/group/comp.databases.ibm-db2/browse_thread/thread/58c6c36ce9006d50/778f98749d8e2983?lnk=st&q=DB2+Connect+product+license&rnum=6#778f98749d8e2983 would...
6
by: Al G | last post by:
Can someone tell me what I need to get connected to our AS400? I am trying to write an app in VS2005(Data source, Gridview) that requires data from files on our AS400. I've downloaded DB2, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.