BioloMICS logo
×
BioloMICS Web Menu

M field in razor (Array continuous data)

 
 
The M field has subfields and each have to be called individually.
 
        <tr>
            <td width=70%>Absorbance values from yeast microplate - C1 D-Glucose</td>
            <td>
                <span>@Model.M239.M239_0</span>
            </td>
        </tr>
        <tr>
            <td width=70%>Absorbance values from yeast microplate - C2 D-Galactose</td>
            <td>
                <span>@Model.M239.M239_1</span>
            </td>
        </tr>
 
 
Extra explanation on the code:
 
  • width=70% this fixes the width of the cell in the left column. This is optional.
     
  • .M239.A211_0 first call the M field, then call the wanted subfield.
     
 
 
The code placed in a table:
 
<table class="table">
    <thead>
    </thead>
    <tbody>
        <tr>
            <td width=70%>Absorbance values from yeast microplate - C1 D-Glucose</td>
            <td>
                <span>@Model.M239.M239_0</span>
            </td>
        </tr>
        <tr>
            <td width=70%>Absorbance values from yeast microplate - C2 D-Galactose</td>
            <td>
                <span>@Model.M239.M239_1</span>
            </td>
        </tr>
    </tbody>
</table>