@{
    var data = ViewData["DormitoryNum"] as System.Data.DataTable;
}
<div class="row container" style="margin: auto;">
    <div class="col-sm-3">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <span class="label label-success pull-right">【栋】</span>
                <h5>宿舍楼</h5>
            </div>
            <div class="ibox-content">
                <h1 class="no-margins number-buttom">@(data.Rows[0]["numBuild"].ToString())</h1>
            </div>
        </div>
    </div>
    <div class="col-sm-3">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <span class="label label-success pull-right">【间】</span>
                <h5>宿舍房间</h5>
            </div>
            <div class="ibox-content">
                <h1 class="no-margins number-buttom">@(data.Rows[0]["numRoom"].ToString())</h1>
            </div>
        </div>
    </div>
    <div class="col-sm-3">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <span class="label label-success pull-right">【床】</span>
                <h5>宿舍床位</h5>
            </div>
            <div class="ibox-content">
                <h1 class="no-margins number-buttom">@(data.Rows[0]["numRoomBed"].ToString())</h1>
            </div>
        </div>
    </div>
    <div class="col-sm-3">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <span class="label label-success pull-right">【人】</span>
                <h5>入住人数</h5>
            </div>
            <div class="ibox-content">
                <h1 class="no-margins number-buttom">@(data.Rows[0]["numUser"].ToString())</h1>
            </div>
        </div>
    </div>
</div>