@Html.LabelFor(u => u.description, new {@class = "col-sm-3 control-label no-padding-right" }) <div class="col-sm-6"> <select id="description" name="description" class="col-xs-10 col-sm-5" > @{ List<string> hardwarenames = configuration_utility.DataLayer.Models.Machine.getAllhardware (); foreach (string description in hardwarenames) { <option value="@description">@description</option> } } </select> </string></div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)