how to get data to dropdownlist from database in html view : I am creating an web page in which i have a drop_down_list. i have to retrieve data for the drop_down_list from the database. is there any way to get data from the database to the html view my html code.`<select name="drop down"><option value="1">@test.list[i]</option></select>`
i got the database value to the list variable.but i don't know how to pass the data to the html view. help in this issue.