<%@ Page Title="" Language="C#" MasterPageFile="~/Book/Book.master" AutoEventWireup="true" CodeBehind="CurrentMeeting.aspx.cs" Inherits="Book.Book.CurrentMeeting" %>
<%@ Register src="../UserControls/area.ascx" tagname="area" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cont_form" runat="server">
    
    <style>
        .busy {
         color:red
        }
    </style>

        <div class="well"> 
          <uc1:area ID="area1" runat="server" OnAreaChanged="area1_changed" />
     </div>
    
   

    
  <asp:GridView ID="gv_room"   
      EnableViewState="false" 
      AutoGenerateColumns="false"   
      DataKeyNames="roomid"  
      ClientIDMode="Static"  
      CssClass="table table-hover"
      AllowPaging="false"  
      runat="server"  
      GridLines="None"
      >
    <Columns>
   
   
   <asp:TemplateField>
   <ItemStyle Width=200px  HorizontalAlign="Left" />
   <HeaderStyle HorizontalAlign="Left" />
   <HeaderTemplate>会议室名称</HeaderTemplate>
       <ItemStyle  CssClass="rightborder" />
   <ItemTemplate>
      <%#Eval("catname") %> (<%#Eval("num")%>人)
   </ItemTemplate>  
   </asp:TemplateField>
       
  
<asp:TemplateField>
   <HeaderStyle Width="450px" />
     <ItemStyle  CssClass="rightborder" />
<HeaderTemplate>
 当前会议室状态
</HeaderTemplate>
<ItemTemplate>
 
     <%#GetCurrentStatus(Eval("roomid")) %>

</ItemTemplate>
 

</asp:TemplateField>




        
<asp:TemplateField>
       <HeaderStyle Width="450px" />
<HeaderTemplate>
 下一个会议
</HeaderTemplate>
<ItemTemplate>
 
     <%#GetNextStatus(Eval("roomid") )%>

</ItemTemplate>
 

</asp:TemplateField>

 </Columns>
    
   
    </asp:GridView>


</asp:Content>
