Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var sitiene = db.CORREO.Where(a => a.FKEMPLEADO == id);
- foreach (var asitiene in sitiene)
- {
- ViewBag.sitiene = asitiene.CORREOEMP;
- }
- <label class="editor-label toggle">
- @Html.LabelFor(model => model.CORREOEMP, "Correo del empleado")
- <input type="checkbox" class="btn btn-lg btn-toggle" value="@ViewBag.CORREOEMP" name="CORREOEMP"/><input name="CORREOEMP" type="hidden" value="0">
- <i data-swchon-text="SI" data-swchoff-text="NO"></i>
- </label>
Add Comment
Please, Sign In to add comment