Results 1 to 2 of 2

Thread: Connecting to MSAccess database

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Connecting to MSAccess database

    I haven't used ADO.net so far.

    I want to write some sample code to connect to MS Access database and insert some records.

    can some one point me to some sample code ?

    thanks
    nath

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Connecting to MSAccess database

    You should take a look at the ADO.NET tutorials in my signature or perhaps the Start VB.NET tutorial has a section specifically on Access. You can use one of the code conerters in my signature to convert the code samples to C#. Alternatively or additionally, the GotDotNet tutorial link has an ADO.NET section with C# sample code.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width