Created
March 11, 2016 15:28
-
-
Save anonymous/bd1b2133e28c0480e27e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
var db = Database.Open("ebay_database"); | |
var makes = db.Query("SELECT * From tbl_Types"); | |
} | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>add: single</title> | |
</head> | |
<body><center> | |
<h1><b>Add device: Single</b></h1> | |
<form name="inputform" method="post"> | |
<select name="make_list"> | |
@foreach(var make in makes){ | |
<option value="@make.[Make]">@make.[Make]</option> | |
} | |
</select> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment