I'm totally new for asp. So I may ask a silly question. How to create a dropdown list and how to get the value that users choose and insert back to DB?
1. You would first create the dropdown list.
2. On the Page_Open event, you would populate it; either using, say, a "reader" through an open database connection, or just add the items if there are only a few.
3. On the SelectedIndexChanged event of the dropbox just add code to "Insert" the value back into your database table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.