Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
BNBHospital
/
Views
/
Query
/
View File Name :
Index.cshtml
@model IEnumerable<bnb.Models.QueryViewModel> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <br /> <p>Manage Queries/Questions</p> <h2>@ViewBag.documentname</h2> <p> <div style="float:right">@Html.ActionLink("Create New", "Create", new {id = ViewBag.id, par1 = ViewBag.documenttype, par2= ViewBag.documentname, par3 = ViewBag.doctorurl }, htmlAttributes: new { @class = "btn btn-info" })</div> </p> <br /> <br /> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.QueryName) </th> @*<th> @Html.DisplayNameFor(model => model.ReferenceId) </th>*@ <th> @Html.DisplayNameFor(model => model.HitCount) </th> <th> @Html.DisplayNameFor(model => model.IsActive) </th> <th></th> </tr> @foreach (var item in Model) { <tr> <td> @Html.DisplayFor(modelItem => item.QueryName) </td> @*<td> @Html.DisplayFor(modelItem => item.ReferenceId) </td>*@ <td> @Html.DisplayFor(modelItem => item.HitCount) </td> <td> @Html.DisplayFor(modelItem => item.IsActive) </td> <td> @*In this case, id = item.QueryId refers to the Actual P.K. of the Query object*@ @Html.ActionLink("Edit", "Edit", new { id = item.QueryId, par1 = ViewBag.documenttype, par2 = ViewBag.documentname, par3 = ViewBag.doctorurl }, new { @class = "btn btn-primary" }) </td> </tr> } </table>