Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 02, 2012 01:45 AM by Decker Dong - MSFT
Jun 30, 2012 05:30 AM|LINK
Can anyone help me with this. I have looked at tons of videos but they always do simple and basic stuff so I can never learn how to do it. Does anyone here know of any tutorials (documents, videos...etc.....) or anything like that to help me with this.
Thanks in advance
Jun 30, 2012 05:33 AM|LINK
Use a FormView.
There will be tons of tutorials if you search for asp.net FormView.
Once you've managed that search for ItemTemplates and Dropdownlists in Formviews
Jul 02, 2012 01:45 AM|LINK
Saving the contents of textboxes and dropdowns to an Access Database
If your TextBoxes as well as Dropdownlists are all out of a certain presentation control, you can just find them by referring their name and do directly inserting：
using (OleDbCommand cmd = new OleDbCommand(“insert into xxx (field1,field2,……,fieldN) valeus(@field1,@field2,……,@fieldN”,new OleDbConnection("Your Conn Str")))
But if you use TextBoxes and Dropdownlists inside some presentation controls such as GridView，you should enable CRUD methods successfully and then make the GridView editable，and then do Updating or Inserting——However GridView isn't supporting inserting directly,
I think you can use GridView's FooterRow——
Sample is here：