BioloMICS logo
×
BioloMICS Web Menu

F field in razor (File)

 
 
 
 
         <tr>
            <td width=50%>@Model.F227.Label</td>
            <td>
               <div style="background-image: url('data:img/png;base64,@Model.F227');background-size: 250px; height: 250px;background-repeat: no-repeat">
                 </div>
            </td>   
        </tr>
 
 
 
The code placed in a table:
 
<table class="table">
    <thead>
    </thead>
    <tbody>
         <tr>
            <td width=50%>@Model.F227.Label</td>
            <td>
               <div style="background-image: url('data:img/png;base64,@Model.F227');background-size: 250px; height: 250px;background-repeat: no-repeat">
                 </div>
            </td>   
        </tr>
    </tbody>
</table>