jeudi 20 août 2015

How to design a editor field in mvc 3 to display only the textbox?

As i have not created a field for the current date in a database table, and not also in model class also, but i want to display only the view of that field?

<div class="editor-label">
<div class="editor-field">
  //here is the problem what to do??
  @Html.EditorFor(m => m.????)
  @Html.ValidationMessageFor(model => model.???)

Aucun commentaire:

Enregistrer un commentaire