Hi, In order form: I created a DB with a table which has 5 attributes: id (auto-increment), name, email, product, remarks and price. I built an aspx web form to let user input name, email and remarks in textbox. Each product has a radiobutton. They are in the
same groupname. The price is preset for each product. So, I need to insert the following web form data to DB: name - textbox email - textbox remarks - textbox product - radiobutton price - hidden And then, it can show up whether the data can be successfully
added to DB. In admin side, There is a WinForm with DataSet to display the above 5 attributes. I tried to use sqlDataAdapter, sqlConnection, DataSet to do the insert and select commands. However, data cannot be inserted and no data can be retrieved. I have
searched many websites and read the online tutorials, but still cannot figure out what's wrong in my code. Could anyone tell me how should the steps to do it in VS.net and C#? and, are there any simple online tutorial examples to teach webform, winform and
ADO.net (all put together)? Thanks for any kind help. Regards Tom
kerocow
Member
485 Points
97 Posts
Insert textbox and hidden values to MS SQL
Oct 09, 2003 03:12 PM|LINK