Solved

Visual Studio Web Express 2012 Insert Into Database From Textbox

Posted on 2013-05-16
3
931 Views
Last Modified: 2013-06-27
I'm using Visual Studio Web Express and I would like to insert some values from a couple of text boxes to a database. Currently I able to read the table to the gridview without issue. It seems to work well. However I cannot get insert to work so obviously I don't know what I'm doing.  I have two textboxes and a submit box. I'm sure I need to use SqlDataSource but not sure how.

Txtbox1
Txtbox2
Submit_Button

Database Name ( DB1)
Table Name (Name)
Field Name (FN)
0
Comment
Question by:laskydiver
  • 2
3 Comments
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
Comment Utility
Otherwise known as CRUD (Create/Replace/Update/Delete)

http://msdn.microsoft.com/en-us/library/fbk67b6z.aspx
0
 

Author Comment

by:laskydiver
Comment Utility
Thanks but wanting to use standard textbox not gridview.
0
 
LVL 78

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 500 total points
Comment Utility
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.

762 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

11 Experts available now in Live!

Get 1:1 Help Now