asp.net and sql server
How to choose color with colorname from dropdownlist in asp.net and store in sql server.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bhushan GawalePosted Jan 18, 2015, 1:11 AM
Firstly you might want to load the list of colours in the drop-down and then either on auto postback or on some trigger you want to save it back to the database.
You can start from there -
Loading dropdown lists in ASP.NET -
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.dropdownlist(v=vs.110).aspx
Saving data from dropdown list -
http://www.codeproject.com/Questions/677148/how-to-save-dropdownlist-selected-value-in-datatab
Saineshwar BageriPosted Jan 17, 2015, 11:46 PM