Created
October 22, 2017 04:33
-
-
Save A2H111/6a959cdbc25e231e9000929d748cfa06 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
@page "{id:int}" | |
@model EditPageModel | |
@{ | |
} | |
<h2>Edit</h2> | |
<form method="post"> | |
<table class="table table-bordered" style="width:500px"> | |
<tbody> | |
<tr> | |
<td> | |
<input asp-for="Employee.EmployeeID" type="hidden" /> | |
<label for="txtEmpName">Employee Name :</label> | |
</td> | |
<td> | |
<input id="txtEmpName" type="text" asp-for="Employee.EmployeeName" class="form-control" style="width:250px" /> | |
</td> | |
</tr> | |
<tr> | |
<td><label for="txtEmpName">Employee Address :</label></td> | |
<td><input id="txtEmpAddress" type="text" style="width:250px" asp-for="Employee.EmployeeAddress" class="form-control" /></td> | |
</tr> | |
<tr> | |
<td colspan="2"><input id="Button1" type="submit" value="Save" class="btn btn-primary" /> | <a asp-page="/Index" class="btn btn-primary">Back</a></td> | |
</tr> | |
</tbody> | |
</table> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment