Results 1 to 4 of 4

Thread: Saving Textbox.text to database

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    12

    Angry Saving Textbox.text to database

    Hi,
    I'm just a newbie in vb. i'm using visual studio 2008...
    I have a form. and inside it are textbox and button. how to connect to the existing visual studio database or microsoft access database? how to save the text in the textbox to visual studio database and access database

  2. #2

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    12

    Re: Saving Textbox.text to database

    MS access 2003 and visual studio 2008 express edition database

  3. #3
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Saving Textbox.text to database

    Search for "VB.NET ADO.NET Access". Then you want Datareader and/or DataAdapter. You also need to build a connection string, check here for 2007 or here for others.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  4. #4
    Super Moderator FunkyDexter's Avatar
    Join Date
    Apr 2005
    Location
    An obscure body in the SK system. The inhabitants call it Earth
    Posts
    7,957

    Re: Saving Textbox.text to database

    You're unlikely to get a straight answer to your question because it's just too big I'm afraid. Instead, check the tutorials that can be found under the first link in this sub forum (Database Development FAQs & Tutorials [updated Mar 29 2010] ).
    In particular I'd recommend Mendhak's An Introduction to ADO.NET ( Tutorial )
    The best argument against democracy is a five minute conversation with the average voter - Winston Churchill

    Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd

Tags for this Thread

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