Link to home
Start Free TrialLog in
Avatar of laskydiver
laskydiver

asked on

Visual Studio Web Express 2012 Insert Into Database From Textbox

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)
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of laskydiver
laskydiver

ASKER

Thanks but wanting to use standard textbox not gridview.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial