BioloMICS logo
×
BioloMICS Web Menu

Call field title

 
To dynamically retrieve the name of the field, use the following code:
 
@Model.FIELDCODESQL.Label
 
 
Extra explanation on the code:
 
  • .Label is used to display the actual, user-friendly, name of the field.
     
    Note that this is not available for all types, therefore it is also possibel to hardcode the name of the field.
     
     
The code placed in a table:
 
<table class="table">
    <thead>
    </thead>
    <tbody>
        <tr>
            <td>@Model.D216.Label</td>
            <td>
                <span>@Model.D216</span>
            </td>
        </tr>
    </tbody>
</table>