Need a simple form that inserts a record to a database

Posted on 2008-11-19
Last Modified: 2013-11-26
For some reason I can not find a decent example of a simple form with a couple text boxes and a submit button that will add a record to my SQL database.  I have played with gridview and formview it appears you have to hit insert before you can enter data in these...this is not what I'm looking for.  I've got the Data Souce setup I can add the text boxes just not sure how I make the submit button insert the record into the database.  Thanks
Question by:nelsonhale
    LVL 20

    Accepted Solution

    surprisingly there aren't too many samples that I've found.  Here is some sample code that might help
    LVL 53

    Assisted Solution


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now