(MVC) MVC (2018)

<<назад Students/Delete.vbhtml (Contoso University).

   1:  @ModelType CU_VB_3.Models.Student
   2:  @Code
   3:      ViewData("Title") = "Delete"
   4:      Layout = "~/Views/Shared/_Layout.vbhtml"
   5:  End Code
   6:   
   7:  <h2>Delete</h2>
   8:   
   9:  <h3>Are you sure you want to delete this?</h3>
  10:  <div>
  11:      <h4>Student</h4>
  12:      <hr />
  13:      <dl class="dl-horizontal">
  14:          <dt>
  15:              @Html.DisplayNameFor(Function(model) model.LastName)
  16:          </dt>
  17:   
  18:          <dd>
  19:              @Html.DisplayFor(Function(model) model.LastName)
  20:          </dd>
  21:   
  22:          <dt>
  23:              @Html.DisplayNameFor(Function(model) model.FirstMidName)
  24:          </dt>
  25:   
  26:          <dd>
  27:              @Html.DisplayFor(Function(model) model.FirstMidName)
  28:          </dd>
  29:   
  30:          <dt>
  31:              @Html.DisplayNameFor(Function(model) model.EnrollmentDate)
  32:          </dt>
  33:   
  34:          <dd>
  35:              @Html.DisplayFor(Function(model) model.EnrollmentDate)
  36:          </dd>
  37:   
  38:      </dl>
  39:      @Using (Html.BeginForm())
  40:          @Html.AntiForgeryToken()
  41:   
  42:          @<div class="form-actions no-color">
  43:              <input type="submit" value="Delete" class="btn btn-default" /> |
  44:              @Html.ActionLink("Back to List", "Index")
  45:          </div>
  46:      End Using
  47:  </div>


Comments ( )
<00>  <01>  <02>  <03>  <04>  <05>  <06>  <07>  <08>  <09>  <10>  <11>  <12>  <13>  <14>  <15>  <16>  <17>  <18>  <19>  <20>  <21>  <22>  <23
Link to this page: //www.vb-net.com/EF-missing-FAQ/Code/Students-Delete.vbhtml.htm
<SITEMAP>  <MVC>  <ASP>  <NET>  <DATA>  <KIOSK>  <FLEX>  <SQL>  <NOTES>  <LINUX>  <MONO>  <FREEWARE>  <DOCS>  <ENG>  <CHAT ME>  <ABOUT ME>  < THANKS ME>