How to fetch data from SQL Server & put in html dropdownlist

Jul 31 2014 7:35 AM
I have a complete database running in SQL Server.
 
Next I have HTML codes for an UI which consists of a html drop down list(Note: There are css-styles for the html dropdownlist)
 
I'm doing development in visual studio 2008 as a result of which i can directly use asp controls and directly populate the dropdownlist. But the thing is that I have to populate the html dropdownlist from database during PageLoad without using any asp controls, so that the html styles and css scripts are not tampered.
 
Please suggest solutions with sample code if possible.
 
 

Answers (1)