Created
October 22, 2017 04:40
-
-
Save A2H111/31766690dd39e0430223cce7bece418b 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 NetCoreRazorPageApp.Pages.Employee.DeletePageModel | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width" /> | |
<title>DeletePage</title> | |
</head> | |
<body> | |
<h4>Delete Employee Record</h4> | |
<h5>Are you sure you want to delete this?</h5> | |
<table class="table table-bordered" style="width:250px"> | |
<tbody> | |
<tr> | |
<td> | |
<label for="txtEmpName">Employee Name :</label> | |
</td> | |
<td> | |
@Html.DisplayFor(model => model.Employee.EmployeeName) | |
</td> | |
</tr> | |
<tr> | |
<td><label for="txtEmpName">Employee Address :</label></td> | |
<td>@Html.DisplayFor(model => model.Employee.EmployeeAddress)</td> | |
</tr> | |
</tbody> | |
</table> | |
<form method="post"> | |
<table> | |
<tbody> | |
<tr> | |
<td> | |
<input asp-for="Employee.EmployeeID" type="hidden" /> | |
</td> | |
<td colspan="2"><input id="Button1" type="submit" value="Delete" class="btn btn-primary" /> | <a asp-page="./Index" class="btn btn-primary">Cancel</a></td> | |
</tr> | |
</tbody> | |
</table> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment