CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Posts
    1

    Angry how to add a record into access database vb.net 2005

    Hi !
    I am trying my hands on VB.net and is trying out a small application which includes a survey form. The form contains radio buttons and when the respondent clicks on a radiobutton, digit '1' should be placed into the corresponding field of the database.

    I have established a dataset and tried doing it but not sure how to do it because the book (How to program Visual Basic.Net by Dietel) does not teach us that

    Also, I am wondering how to enable the user to enter various surveys concurrently ? With this post there is a URL for my code, please have a look and suggest the way to push data into the access database.

    http://www.esnips.com/doc/8a0d192f-f...8b901bc/Survey

    Thanks

  2. #2
    Join Date
    Jan 2008
    Posts
    73

    Re: how to add a record into access database vb.net 2005

    i am also just starting to dig into the wonderful world of database. i have had some good luck with watching and doing some of the learning demo's in the beginners center "http://msdn2.microsoft.com/en-us/beginner/default.aspx"
    this has helped me expand my view on a couple things. good luck!

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: how to add a record into access database vb.net 2005

    You have to type in the code samples to be able to understand them. Posting 'your' work on the author's site is a bit silly. What part wasn't in the book?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: how to add a record into access database vb.net 2005

    I'd recommend that you download the MSDN samples ( for whatever version you have ). There, they cover a lot of database related stuff. IMHO, ADO.NET is not to be taken lightly. And again, MSDN self, has tons of info on ADO.NET, I'd suggest going through them first.

  5. #5
    Join Date
    Mar 2008
    Posts
    2

    Smile Re: how to make connection with database in vb.net 2005

    I am create connection but it not works while i am insert a record in database it not affected any more so please tell me how to make connection with database and how to insert simple record in database because i am beginner

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

Featured