Results 1 to 4 of 4

Thread: VB.net & access database

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    1

    VB.net & access database

    hi this is narin...

    im using visual studio 2005.

    i was wondering if any would kindly tell me how the data is retrieved after the connection between access database and VB.NET



    thanks in advance

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

    Re: VB.net & access database

    That's a very broad "tie my shoelaces" kind of question. I suggest you do some reading on ADO.NET. Try some of the tutorial links in my signature, which all have ADO.NET sections. Also, do a member search for TechGnome as his signature also has some ADO.NET-specific tutorial links.
    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

  3. #3
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: VB.net & access database

    Plenty of examples of you search this forum as well....

    Check out the last post here:
    http://www.vbforums.com/showthread.php?t=377078

  4. #4
    New Member
    Join Date
    Jan 2006
    Posts
    13

    Re: VB.net & access database

    Here's something you might be able to do to help you learn. I don't have VS 2005 yet, but in VS 2003 you can build a form using the form wizard. This wizard allows you to specify many aspects of your form including: database connectivity, form appearance and behavior, and more. When it's all finished what you have is a multi=-tiered solution that connects to a database and displays your data in your form with navigation buttons as well. Looking at the code, you will see the connection object, the data adapter, the dataset, the binding statement which show how the dataset is bound to the form, navigation button code, and more. It's very helpful and may answer your question. In VS 2003 to run the wizard, all you do is right click on the project name in solution explorer and select add new item. When the dialog box appears, choose the form wizard. It will walk you through from there. Hope that helps.

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