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




<div class="ManagerForm">
		<fieldset>
		<legend style="background: 6px 50%;">Search</legend>
		
	 <table class="table1" cellspacing="0" cellpadding="8" width="100%" align="center" >  


<tr>

<td> 1.会议时间从: 
 <asp:TextBox type="text" id="txt_startdate" runat="server" style="font-family:verdana; font-size:12px" onClick="javascript:ShowCalendar(this)" />
 
  
                
 &nbsp;&nbsp;会议开始时间(Start)：
   <asp:DropDownList     Width="100px" class="BorderColor" runat="server" id="ddl_starttime"  ></asp:DropDownList>
  
   &nbsp;&nbsp;会议结束时间(End)：     
     <asp:DropDownList   Width="100px" class="BorderColor" runat="server" id="ddl_endtime"    ></asp:DropDownList>
      <br>
      <br>
      
       <uc1:area ID="area1" OnAreaChanged="area1_changed" runat="server" />
     
       </td>

 </tr>
 


<tr>
<td>

 2.会议室要求：
  <asp:CheckBox runat="server" ID="cb_hasprojector" />
   <asp:CheckBox runat="server" ID="cb_haspc" />  
    <asp:CheckBox runat="server" ID="cb_hastc" />
      <asp:CheckBox runat="server" ID="cb_hasvtc" /> 
      
       <asp:CheckBox runat="server" ID="cb_prev1" /> 
        <asp:CheckBox runat="server" ID="cb_prev2" /> 
      
      
      <br /><br />
&nbsp;&nbsp;<asp:Label ID="lbl_num" runat="server" ></asp:Label><asp:TextBox ID="txt_num"   Width="70" runat="server"></asp:TextBox>
</td>

</tr>



<tr>
<td>

 3.会议室（不选表示所有）：
   <asp:CheckBoxList runat="server" ID="cbl_place" RepeatColumns="2" Width="700px"></asp:CheckBoxList>
</td>

</tr>



<tr>

<td>
    <asp:Button ID="Button3" style="border:solid 1px #888888;" Width=120 
        runat="server" Text="搜索" onclick="Button3_Click" 
         />

</td>
</tr>
 
</table>













 
<asp:GridView runat="server" ID="gv_list" AutoGenerateColumns="false" Width="700px" CellPadding="2" CellSpacing="3" >
   <HeaderStyle BackColor="#E0E0E0" Font-Bold="True" HorizontalAlign="Center" />
    <AlternatingRowStyle BackColor="#F2F2F2" />
      <RowStyle BackColor="#ffffff"  Height="28"/>
    <PagerSettings Mode="NumericFirstLast" />   
 <Columns>
 <asp:TemplateField>
   <HeaderTemplate>会议室ID</HeaderTemplate>
 <ItemTemplate>
     <%# ((Book.BLL.RoomInfo)Container.DataItem).roomid%>
   </ItemTemplate>

 </asp:TemplateField>
 
 
  <asp:TemplateField>
  <HeaderTemplate>会议室名称</HeaderTemplate>
 <ItemTemplate>
     <%# ((Book.BLL.RoomInfo)Container.DataItem).roomname%>
   </ItemTemplate>

 </asp:TemplateField>
 
 
  <asp:TemplateField>
  <HeaderTemplate>可用状态</HeaderTemplate>
 <ItemTemplate>
   
        <%#GetUrl(((Book.BLL.RoomInfo)Container.DataItem).count, ((Book.BLL.RoomInfo)Container.DataItem).roomid   )%>
   </ItemTemplate>

 </asp:TemplateField>
 </Columns>
 
</asp:GridView>


		</fieldset>
</div>

  
  
  
  
  <script>
      function IsFree(_theroomid, _type) {
      }
  </script>
</asp:Content>
