CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jammyb

Search: Search took 0.04 seconds.

  1. Replies
    9
    Views
    2,643

    Re: Connecting to a Database.

    I appear to have sorted all my issues now.

    Thank you very much to everyone for their help and advice,
    much appreciated.
  2. Replies
    9
    Views
    2,643

    Re: Connecting to a Database.

    Dim conn As New System.Data.OleDb.OleDbConnection()
    Dim cmd As New System.Data.OleDb.OleDbCommand()

    conn.ConnectionString = " Provider=Microsoft.ACE.OLEDB.12.0;Data Source=...
  3. Replies
    9
    Views
    2,643

    Re: Connecting to a Database.

    This is the code I have now, when I first used it wrote the data to the database, but when I tried
    adding other fields to update it wouldnt work. So I went back to my original code and now get the...
  4. Replies
    9
    Views
    2,643

    Re: Connecting to a Database.

    Thanks for your relpy. This is the code I have now, but still joy.



    Dim conn As New System.Data.OleDb.OleDbConnection()
    Dim cmd As New System.Data.OleDb.OleDbCommand()

    ...
  5. Replies
    9
    Views
    2,643

    Connecting to a Database.

    I am fairly new to VB.NET.
    I am struggling to to get my head around
    how to connect to a database and update the fields once a button is
    clicked.

    I am using Visual Studio 2010 and Access 2010.
    ...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured