4
Reply

Grab data from binded text boxes and save them against database

Sacha Hutton

Sacha Hutton

Mar 31 2011 9:31 AM
2k
Hi,

I'm using visual studio 2010 and sql server express 2005. I've created a form where I want the user to enter their details and press submit. My problem is that I can't seem to grab the data that they've entered into each text field and save it against the database as a new record. I've binded the text boxes and I can seem to fill the form with the data but I can't insert a new record. I found a bit of code that would allow me to do this to a certain extent but it's looking for a string or int input; i can't seem to set it to look for the data already entered into the text fields. Is there a way that I can do this? I've been working on it for ages and I can only seem to get so far.

Thanks
Sacha

Answers (4)