Updating Database via Textbox input

G

Guest

Hello

I'm new to ASP.NET and am working on a web page where I have several textboxes that are bound to a table in a dataset. I'm able to query my SQL database, use a SQLAdapter to fill the table in my dataset, and correctly display the data on the web page. However, now I've reached the point where I need to allow the user to edit the textboxes and then save the values back to the SQL database. Do I need to manually take the textbox values and update the record myself? Also one thing I've noticed, after I fill my table in the dataset, even though the data is displayed on the screen when I check the dataset rows it says there are none in my table (this.MyDataSet.Tables["TABLE"].Rows.Count returns 0). Any suggestions on where I'm going wrong would be great, thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top