Use of Access database

Hi,
I want to write a application that uses an Access Database. Actually I want to write data to and read data from a Database with Labview. Does anyone knows a library to control a Access Database. Or any other solutions.
Davy

You've got several options. There is a shipping example that uses DDE to talk to an Access database. DDE sucks so you probably don't want to do that. There is ActiveX. There have been a lot of examples posted to the forum so you might want to do a search. ActiveX can be a real pain though. The nicest solution is to buy the Database Connectivity Toolkit from NI. It uses ADO/SQL to communicate to any database and hides a lot of complexity of learning SQL. There is also the free open source toolkit called LabSQL from Jeffrey Travis. This uses ADO/SQL to talk to any database. You'll need to learn SQL but that's not really that big a task.

Similar Messages

  • "Connection is closed" closed error while using MS Access database

    We are using MS Access database in our project. Recently the database was upgraded to 2000.
    After upgrading the database, I get the folowing error when getAutoCommit() is called on a connection -
    java.sql.SQLException: Connection is closed
         at sun.jdbc.odbc.JdbcOdbcConnection.validateConnection(Unknown Source)
         at sun.jdbc.odbc.JdbcOdbcConnection.getAutoCommit(Unknown Source)
    The connection is not closed explicity before getAutoCommit() is called, only the statement is closed.
    This error is sporadic and occurs under load scenario only (when a lot of connections are open). Once the error occurs, all the database calls fail then onwards. The error was not occuring before the database was upgraded.
    I suspect the jbdc-odbc driver. The driver might not be compatible with Access2000 database. Under load scenario, it might be closing connections automatically.
    Has anybody faced similar problem before? Where can I find the compatible jdbc-odbc driver? And how to ensure that it is jdbc-odbc driver problem only?
    The database verison - MS Access 2000
    Java version - 1.3.1_01

    can i just point out that there is no support for transactions in Access so I wonder why you are calling autoCommit methods at all...

  • How to use MS Access database in Flash CS4 using AS3

    Hello everyone,
         I need help for how use the MS Access database in FlashCS4 and I want to save and retrive the data from the database and display in the Flash window.
    Thanks with,
    Viswa.

    http://www.northcode.com/blog.php/2011/05/06/Using-ADO-Data-Sources-in-Flash-Projectors

  • Using MS-Access database in JSP application

    Hi, all. I am new in JSP world. I have an Access database and I�d like to access it in my JSP Application.
    Does anybody know I could do this?
    TIA
    Fernando

    Define your database as an ODBC source and then use the JDBC/ODBC bridge. It's actually only a few lines of code - see http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html

  • Tracking external programs used to access database

    I would like to track/audit the external programs our users are using to access our Oracle databases over a period of time. Hoping to track users hitting database with SPSS, MSAccess, etc for a report requested by our mgmt.
    I find "program" and "module" in the v$_session table but don't see similar info in the SYS aud$ table. And v$_session info doesn't get "saved" over the course of a day/week/month.
    Any ideas how to accomplish this?

    See this, but note the caveats:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1830073957439
    Tom Best

  • Is there any way to use the access database on my ipad?

    Is it possible to upload an access database on to my iPad and then edit it?

    A search on the App store found this.  I am not a user though.
    https://itunes.apple.com/uy/app/access-mobile-database-client/id387300746?mt=8

  • How to use an access database file with vb project

    hi deve.
    im wondering how can i use a database file (created with microsoft access) in a vb project
    i want to assign a textbox content from the database file from a specific field according to its id can anyone explain that with a simple code example
    thanx..

    thanx
    pvdg42
     this article is all i need

  • Error while doing dblookups using MS Access database

    Hi everyone,
      I am trying to perform dblookups in a file to file scenario but it is showing some error.I have used receiver JDBC adapter channel for dblookup.If anyone knows the solution kindly reply it thanks in advance.Here is the error
    Exception during processing the payload.Problem when calling an adapter by using communication channel.  XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    XI\data\XI_Workbench\1234\DB\EMP.mdb;Uid=1234;Pwd=abcd;': SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.'.

    Hi,
    ->Have you installed the JDBC drivers on XI server. Can you please check.
    ->Which DB are you polling?
    Please check if respective drivers are installed in the J2ee stack. you can get a help 4m ur basis team on this.
    DB drivers (jar files)can be obtained from respective vendors.
    have a look in the following discussion,it looks like the drivers are different
    Re: JDBC driver for J2EE AE that supports MS SQL 7.0
    IDOC to JDBC :Error using JDBC
    Please Reward points if it helps
    Thanks
    Vikranth

  • Using MS Access database within Servlet

    Hi
    l've been trying since a week to extract data from my database
    within my Servlet, but it doesn't work.
    l get the reply with empty table, yes no data in it !!
    my classes and the database are located in WEB-INF/classes directory
    can someone help me please ?
    thanks

    [i]this is my code
    // first class
    package servletcommercial;
    Class Product
    //Business object for products, note quantity in stock is a string
    public class Product {
    private String productId;
    private String description;
    private String category;
    private String quantityInStock;
    private int price;
    public Product
    (String productId, String description, String category, String quantityInStock, int price)
    this.productId = productId;
    this.description = description;
    this.category = category;
    this.quantityInStock = quantityInStock;
    this.price = price;
    //Setter methods
    public void setProductId(String productId)
    this.productId = productId;
    public void setDescription(String description)
    this.description = description;
    public void setQuantityInStock(String quantityInStock)
    this.quantityInStock = quantityInStock;
    public void setPrice(int price)
    this.price = price;
    public void setCategory(String category)
    this.category = category;
    //Getter methods
    //second class
    package servletcommercial;
    Class ProductCollection
    import java.util.*;
    import java.sql.*;
    public class ProductCollection {
    private Connection cn;
    private String driverName;
    public ProductCollection()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    cn =
    DriverManager.getConnection("jdbc:odbc:M360Catalogue", "Darrel", "");
    catch(Exception e){System.out.println("Problem setting up database"+e);};
    public Enumeration getCollectionPrice(int price)
    Vector extractedProducts=new Vector ();
    ResultSet rs;
    Statement query;
    try
    query = cn.createStatement();
    String queryString =
    "Select * from Products where Price > "+price;
    System.out.println(queryString);
    rs = query.executeQuery(queryString);
    while(rs.next())
    Product extractedProduct = new Product
    (rs.getString(1), rs.getString(2), rs.getString(3),
    rs.getString(4), rs.getInt(5));
    extractedProducts.add(extractedProduct);
    rs.close();
    catch (Exception e){System.out.println("Problem with query "+e);}
    return extractedProducts.elements();
    public Enumeration getCollectionCategory(String category)
    Vector extractedProducts=new Vector ();
    ResultSet rs;
    Statement query;
    try
    query = cn.createStatement();
    String queryString =
    "Select * from Products where Category ='"+ category+"'";
    System.out.println(queryString);
    rs = query.executeQuery(queryString);
    while(rs.next())
    Product extractedProduct = new Product
    (rs.getString(1), rs.getString(2), rs.getString(3),
    rs.getString(4), rs.getInt(5));
    extractedProducts.add(extractedProduct);
    rs.close();
    catch (Exception e){System.out.println("Problem with query"+e);}
    return extractedProducts.elements();
    //last class
    M360
    Exercise 7.3
    Class CommServletSolution
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class CommServletSolution extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    private ProductCollection pc = new ProductCollection();
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException
    PrintWriter out = response.getWriter();
    response.setContentType(CONTENT_TYPE);
    if((request.getParameter("pulldown")).equals("priceselect"))
    String price = request.getParameter("data");
    String priceInPence = (Integer.parseInt(price)*100)+"";
    Enumeration en = pc.getCollectionPrice(Integer.parseInt(priceInPence));
    //Display table
    out.print("<P>The table of goods for your price query ** price "+" > " +
    price+" ** is shown below</P>");
    displayTable(out, en);
    if((request.getParameter("pulldown")).equals("categoryselect"))
    String category = request.getParameter("data");
    //Get enumeration to retrieved products
    Enumeration en = pc.getCollectionCategory(category);
    //Display table
    out.print("<P>The table of goods for your category query ** category = "+
    category +" ** is shown below</P>");
    displayTable(out, en);
    public static void displayTable(PrintWriter out, Enumeration en)
    //Helper method which displays tables
    //Table header
    out.println("<TABLE BORDER>");
    out.println("<TR>");
    out.println("<TH>Description</TH><TH>Category</TH><TH>Quantity</TH><TH>Price</TH>");
    out.println("</TR>");
    //Table rows
    while(en.hasMoreElements())
    Product chosenProduct = (Product)en.nextElement();
    int penceAmount = chosenProduct.getPrice()%100;
    String pence=""+penceAmount;
    if(penceAmount<10)
    pence = "0"+penceAmount;
    if(penceAmount==0)
    pence ="00";
    out.println("<TR>");
    out.println("<TD>" + chosenProduct.getDescription()+"</TD>"+
    "<TD>" + chosenProduct.getCategory()+ "</TD>"+
    "<TD>" + chosenProduct.getQuantityInStock()+"</TD>"+
    "<TD>" + chosenProduct.getPrice()/100+"."+
    pence+"</TD>"
    out.println("</TR>");
    out.println("</TABLE>");

  • USING ACCESS DATABASE AS BACKEND

    I need to use the form applications need to use MS ACCESS database as backend rather than ORACLE. How to reach it. Kindly help me to reslove it.
    Can you please tell me the steps involved in this process.

    I'm going to guess that you have a good reason for wanting to use MS-Access as the back-end database, but why use Forms as the front-end? Why not just use Access's UI?
    Now to your question. You can connect to MS-Access using ODBC. Here is a [link to a good discussion|http://forums.oracle.com/forums/click.jspa?searchID=-1&messageID=3763074] on using ODBC. Hope this helps.
    Craig...

  • The Microsoft Access database engine cannot open or write to the file \\fileserver\db\access.mdb

    Hi,
    I have Windows Server 2012 with SQL 2012 Standard SP1. I am using linked server, and Access Database Engine 2010 Redistributable to access my database file made in Microsoft Access (.mdb) from network file server.
    EXEC master.dbo.sp_addlinkedserver @server = N'MyLinkedServer', @srvproduct=N'MyLinkedServer', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'\\myfileserver.mydomain.com\files\mydatabase.mdb'
    My SQL service is running with domain service account MYDOMAIN\SQL1$ , i have added Full control for file share and NTFS permission on my file server folder (C:\Files).
    When I open (as domain admin with UAC elevated permissions) on my DB server SQL Management studio, I can browse tables and everything works.
    The problem is, if I open SQL management studio (as domain admin with UAC elevated permissions) on my File server or any other computer, when trying to browse my linked server i got error:
    TITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Synesis_3PRO2013". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    When I try to place simlpe Select SQL query I got error:
    OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MyLinkedServer" returned message "The Microsoft Access database engine cannot open or write to the file '\\myfileserver.mydomain.com\files\mydatabase.mdb'. It is already opened exclusively by another
    user, or you need permission to view and write its data.".
    I do not have any other program using my access database, and user has full control. I am trying to use in security mode - "For a login not defined in the list above, connections will be made without using a security context", i have also tried all four options.
    I am confused becouse it works from SQL server but from any SQL client domain member computer/server it does not work.
    I have same problem in another environment where I have Windows Server 2008 R2 and SQL 2008 R2 SP2.
    Please help.
    -- Hrvoje Kusulja

    NTFS must be fine since it works from same server using same accounts.
    As I understand, adding my access file to Access trusted location could be a problem. I have tried now to add my access database file location to trusted locations for user which is my SQL service user (Windows Service - AD managed service account MYDOMAIN\SQL1$)
    and my test user which I use to connect to sql server as a client from sql management studio. (Account is Domain Admins and have full permissions on SQL server also)
    I have added this .reg:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security]
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Documents]
    "LastPurgeTime"=dword:01592874
    "DisablePromptOpenNetworkTrustedDocuments"=dword:00000000
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
    "AllowNetworkLocations"=dword:00000001
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location0]
    "Description"="My file server"
    "AllowSubFolders"=dword:00000001
    "Path"="\\\\myfileserver.mydomain.com\\files\\"
    I have done this for SQL service account user and my personal test account as I said. I have tried to logoff and restart sql service and all servers also.
    The same problem still persists.
    Anyway, thank you for giving me a hint.

  • How to reference MS Access database in ColdFusion MX 7 on 64-bit Windows

    I am migrating customers from:
    Windows 2000 Server (fully patched)
    Internet Information Services (IIS) 5
    ColdFusion 5
    to:
    Windows Server 2003 Standard x64 Edition (fully patched)
    Internet Information Services (IIS) 6 (running in 32-bit
    mode)
    ColdFusion MX 7 (7.0.2) Standard
    Unfortunately, some of these existing customers are still
    using Microsoft Access databases instead of SQL Server. Having all
    of these existing customers migrate to SQL Server is not yet
    practical. On the old Windows 2000 / ColdFusion 5 server, they are
    using OLE DB data sources to reference the MS Access databases
    using the "Microsoft.Jet.OLEDB.4.0" provider. None are configured
    to use ODBC drivers when referencing MS Access or SQL Server.
    I have yet to figure out how to get ColdFusion MX 7 to:
    - Create a data source that references MS Access databases on
    64-bit Windows.
    - Reference an existing MS Access data source created with
    the 32-bit version of the ODBC Data Source Manager on 64-bit
    Windows.
    A bit of background information regarding MS Access on 64-bit
    Windows:
    - At the time of this writing, Microsoft has not
    created/released 64-bit drivers for Microsoft Access and it's
    unlikely they ever will, for understandable reasons.
    - Contrary to seemingly popular belief, the Microsoft Jet 4.0
    Database Engine does exist on 64-bit Windows. See the following
    regarding version and file location information:
    How to obtain the latest service pack for the Microsoft Jet
    4.0 Database Engine
    http://support.microsoft.com/kb/239114
    - You CAN create MS Access based data sources within 64-bit
    Windows, but they have to be made using the 32-bit version of "ODBC
    Data Source Manager". I'm assuming these DSNs may only be used by
    32-bit applications, but I have not tested that theory.
    32-bit data sources:
    ODBC Data Source Manager:
    %SystemRoot%\SysWOW64\odbcad32.exe
    Registry location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC
    Default file DSN directory:
    C:\Program Files (x86)\Common Files\ODBC\Data Sources
    64-bit data sources:
    ODBC Data Source Manager:
    %SystemRoot%\system32\odbcad32.exe
    Registry location:
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
    Default file DSN directory:
    C:\Program Files\Common Files\ODBC\Data Sources
    The 64-bit version of "ODBC Data Source Manager" (under
    Administrative Tools) only show "SQL Server" and/or "SQL Native
    Client" as options when creating new data sources, unless
    third-party software is installed that supplies additional drivers.
    The 32-bit version of "ODBC Data Source Manager" (by default,
    there is no shortcut for this in the Start menu) shows the typical
    drivers seen on 32-bit versions of Windows, including SQL Server,
    SQL Native Client, Microsoft Access, Excel, FoxPro, Paradox, etc.
    When using ColdFusion Administrator in ColdFusion MX 7.0.2 in
    64-bit Windows 2003 (IIS is running in 32-bit mode to allow
    ColdFusion MX 7 to function at all), two problems are encountered
    when dealing with MS Access (and presumably other 32-bit drivers).
    In both cases, ColdFusion is trying to reference the registry
    location for 64-bit data sources instead of 32-bit:
    1. Creating a new data source within ColdFusion
    Administrator:
    Data Source Name: whatever
    Driver: Microsoft Access
    CF Data Source Name: whatever
    Database file: (physical path to whatever.mdb)
    (other settings are irrelvant for this example)
    Error generated when submitting:
    Unable to update the NT registry.
    Cannot open HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC
    Data Sources: Windows error number 5 occurred.Access is denied.
    ColdFusion stores the data source, however a "verify"
    generates the following error:
    Connection verification failed for data source: whatever
    java.sql.SQLException: [Macromedia][SequeLink JDBC
    Driver][ODBC Socket]internal error: Data source name not found and
    no default driver specified
    The root cause was that: java.sql.SQLException:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal error:
    Data source name not found and no default driver specified
    2. Creating the data source using the 32-bit version of "ODBC
    Data Source Manager" then trying to reference it with ColdFusion:
    ODBC Data Source Manager:
    System DSN or File DSN:
    Name: whatever
    Driver: Microsoft Access Driver (.mdb)
    Database: (physical path to whatever.mdb)
    (creation is successful within ODBC Data Source Manager)
    Reference the above DSN within ColdFusion Administrator:
    Data Source Name: whatever
    Driver: ODBC Socket
    Error generated when submitting:
    Error accessing available odbc datasources. - Cannot open
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources:
    Windows error 2 occurred.The system cannot find the file specified.
    ColdFusion MX 7 can't find the 32-bit data source on 64-bit
    Windows because it's looking for it in the wrong registry location.
    Can ColdFusion MX 7 be configured to look in
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ODBC
    instead of
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC
    on a 64-bit Windows machine?

    Paul,
    Thanks for the insight on this. Regarding the initial problem
    I ran into with creating Access based DSNs, very early-on, I
    noticed there were two different driver options for Access
    displayed within ColdFusion MX 7 Administrator:
    Microsoft Access
    Microsoft Access with Unicode
    For reasons I'm am still baffled over, I somehow completely
    forgot about and through the wonders of apparent tunnel vision,
    completely overlooked the "Microsoft Access with Unicode" driver
    option when I was running through my tests.
    At your seemingly-obvious suggestion, I created a data source
    using the Microsoft Access with Unicode driver and it worked
    perfectly fine with the one customer's web site I'm using for
    testing (of course, this is a copy--the production site is still
    housed on the old ColdFusion 5 server). This obviously doesn't
    actually fix the underlying issue with ColdFusion looking in the
    wrong part of the registry on 64-bit Windows, but at least when it
    comes to dealing with Access databases, your suggestion of using
    the Microsoft Access with Unicode driver appears to be a functional
    work-around. So long as there aren't any surprises waiting for me,
    hopefully this will also work for the remaining ColdFusion sites I
    have to migrate that are using Access databases.
    Since you mentioned JDBC drivers in comparison with ODBC, I'm
    pointing out a couple of references in case they're helpful to
    anyone following this thread:
    ColdFusion MX 7 - About JDBC
    http://livedocs.adobe.com/coldfusion/7/htmldocs/00001736.htm
    Types of JDBC technology drivers
    http://java.sun.com/products/jdbc/driverdesc.html
    http://java.sun.com/products/jdbc/
    I don't actually develop anything in ColdFusion, so I'm
    dealing with all of this from a server administration standpoint
    since we do have some domain hosting customers that do develop or
    at least have existing ColdFusion based sites. I am all
    too-familiar with the caveats of using Access in any kind of
    production or heavily used environment and have spent years keeping
    users away from ODBC. For ColdFusion users, that meant creating OLE
    DB DSNs and often having to fix poorly written SQL statements and
    fixing ColdFusion date-related values and boolean values (the
    common problems encountered when switching CF / MS Access users
    from ODBC to OLE DB). I can only recall running into problems with
    a single SQL Server based ColdFusion site when migrating from ODBC
    to OLE DB. That customer never did get their many coding problems
    fixed, so they're the only ones still using ODBC in CF. I have no
    idea what'll happen when that one site gets migrated over--if it'll
    even work. Obviously a lot of things have changed between
    ColdFusion 5 and the MX versions that have come along afterward.
    Thanks again for the Access with Unicode driver tip and JDBC
    info. It looks like I can finally start moving forward again with
    the site migration process.
    Josh

  • Stored Procedure in MS Access Database

    Hi,
    I am using MS Access Database 2007 to develop a Reporting Application. I would like to know whether Stored Procedures can be created in MS Access Database.
    The requirement that I am working on is to compute and populate a view in MS Access database based on values in two other tables. This procedure has to happen every month when the source tables are updated.
    Any help in this regard is appreciated.

    This is an interesting question.  I have never done this, but just Googled it.  Apparently you can develop SPs in MS Access 2010 and later.  Access 2010 has both stored procedures, and also has table triggers.
    For access 2010, you open up the table (non design view), and then choose the table tab. You see options there to create store procedures and table triggers.
    Here's a screen shot from one of my DBs:
    Would you need to do this?  Probably not.  I've been using Access for 15+ years and never had a need for this kind of thing...even though it's been around for a much shorter time.
    You cannot create a view in MS Access, it is not supported.  However, you can create a query to return the data that you need.  It sounds like you're coming here with a SQL Server background.
    Anyway, you'd probably use a VBA function to do what you need to do.  What, exactly, are you trying to do?
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How to connect with Microsoft Access Database with JAVA

    I want to know the command and query to connect between MSAccess and JDBC.
    Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle.
    Which Database will be the best with Java?
    I also want to know to be platform indepadent which database is suitable?

    On Windows, you can use MS Access database by:
    Set up a System Data Source using the ODBC control panel applet.
    Use the jdbc:odbc bridge JDBC driver, and specify a jdbc url that points to the data source name you just specified.
    It's been too long since I've done this, so I don't remember the syntax of the jdbc url, but I'm sure that if you do a search for the jdbc:odbc bridge that you will find what you are looking for.
    As far as the question about which database is best, you will need to determine that based on your project requirements.
    If you want a quick and dirty, open source, cross-platform database, take a look at HyperSonic SQL.
    - K

  • What is the connection method should i use to connect database to visual basic?

    i'm confusing about that, what is ADO.Net, Entity Framework, LINQ to Entities and LINQ to SQL
    what i should learn to connect my database in SQL to visual basic?

    Hello Galeluo,
    >>i'm confusing about that, what is ADO.Net, Entity Framework, LINQ to Entities and LINQ to SQL
    There are documents for these concepts:
    ADO.Net:
    https://msdn.microsoft.com/en-us/library/e80y5yhx%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Entity Framework:
    https://msdn.microsoft.com/en-us/library/vstudio/bb399567(v=vs.100).aspx
    LINQ to Entities:
    https://msdn.microsoft.com/en-us/library/vstudio/bb386964(v=vs.100).aspx
    LINQ to SQL:
    https://msdn.microsoft.com/en-us/library/bb386976(v=vs.110).aspx
    In above links, we can see that all are approaches which could be used to access database except the LINQ to Entities which is a query approach and is based on Entity Framework.
    >>what i should learn to connect my database in SQL to visual basic?
    If you are starting to use the .NET api to connect a database, I suggest you could use the ADO.NET api which is a underlying api, both Entity Framework and LINQ to SQL are based on this one.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • IPhone 4 battery was good for a month and suddenly goes dead within 6 hours

    I have been running my iPhone 4 (iOS 4.1) for a month without any problem. Suddenly, two days ago (although I haven't changed anything) the battery goes dead in less than 6 hours... When I touch the phone, I notice it's warm. I have checked if any ap

  • Slow gif animations from photoshop

    Hi all. I have to create two small gif animations. Each one is only 10 frames and the file size of my animations is under 40k when exported. But no matter what timing setting I use, they seem sluggish when viewed in any browser (FF, IE, Safari). I've

  • 2 iMessages at the same time

    When I am at home working on my computer and I recieve an iMessage, it will go to my iphone. A few seconds later it will alert me that Ive recieved an iMessage on my computer screen. Same thing with twitter DMs. This is a little annoying. I don't nee

  • How and when the database release a row lock?

    Dear experts, We are using the following statement to obtain a row lock in a table in the database(ORACLE of course), SELECT * FROM {TABLE_NAME} WHERE ID = 1 for update and if we succeed grabbing the row lock we will continue to issue a update statem

  • GOS will be restarted when LUN path failover

    I'm a tester and I was requested to test the compatibility between our storage and oracle VM (v2.2). There are 4 paths for each LUN. I use device-mapper as a multipath tool and run "port block" case on switch. But when 2 paths down and failover to an