Inserting information to Database please help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Teo

    #1

    Inserting information to Database please help

    Hey guys!!
    I created a database using the built in SQL Express that comes with Visual
    Basic Express.
    I created the tables and relationships for now and I want to start testing
    how the information would go into the database.
    On my application I will be adding information as well as retrieving
    information from the DB for analysis in my company.
    What would be the best way to add information that I insert on a windows
    form into a specific table on my database? I already created the textboxes
    with the appropiate labels and the command button. Now, I am blocked at what
    should I add inside the command button to open the connection to the DB and
    add the information to the table.
    Please any help would be appreciated.
    Also I am not sure what type of connection VB created for me when I added
    the tables and relationships to the SQL Express Database.

    Thanks much in advance.
    Teo



  • Mike Lowery

    #2
    Re: Inserting information to Database please help

    You can start by reading this:
    Build web apps and services that run on Windows, Linux, and macOS using C#, HTML, CSS, and JavaScript. Get started for free on Windows, Linux, or macOS.


    "Teo" <teo@teo.comwro te in message
    news:e4k$RWbsGH A.4608@TK2MSFTN GP04.phx.gbl...
    Hey guys!!
    I created a database using the built in SQL Express that comes with Visual
    Basic Express.
    I created the tables and relationships for now and I want to start testing
    how the information would go into the database.
    On my application I will be adding information as well as retrieving
    information from the DB for analysis in my company.
    What would be the best way to add information that I insert on a windows
    form into a specific table on my database? I already created the textboxes
    with the appropiate labels and the command button. Now, I am blocked at what
    should I add inside the command button to open the connection to the DB and
    add the information to the table.
    Please any help would be appreciated.
    Also I am not sure what type of connection VB created for me when I added
    the tables and relationships to the SQL Express Database.
    >
    Thanks much in advance.
    Teo
    >
    >
    >

    Comment

    Working...