Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Need a simple form that inserts a record to a database

Posted on 2008-11-19
2
Medium Priority
?
188 Views
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
0
Comment
Question by:nelsonhale
2 Comments
 
LVL 20

Accepted Solution

by:
brwwiggins earned 1000 total points
ID: 23001109
surprisingly there aren't too many samples that I've found.  Here is some sample code that might help
http://www.asp101.com/samples/form_to_db_aspx.asp

http://www.syncfusion.com/faq/aspnet/web_c8c.aspx#q228q
0
 
LVL 53

Assisted Solution

by:Dhaest
Dhaest earned 1000 total points
ID: 23001777
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

571 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