Asp.net and sql server
How to choose color with colorname from dropdownlist in asp.net and store in sql server.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Saineshwar BageriRank #115 · 19.6K reputationPosted Jan 17, 2015, 6:46 PM EST
Bhushan GawaleRank #299 · 8.4K reputationPosted Jan 17, 2015, 8:11 PM EST
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