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

  

     
		
	 <table class="table" >  
<tr>
<td width="140px">1. 会议编号:
    </td>
    <td width="400">
    <asp:TextBox ID="txt_id" runat="server" CssClass="form-control"></asp:TextBox> 
 </td>
    <td width="140">
    预定人姓名:
        </td>
	         <td width="400">   
                 <asp:TextBox ID="username" runat="server" CssClass="form-control"></asp:TextBox>
                               
               </td> 

</tr>


<tr>

<td> 2.会议时间从: </td>
    <td>
 <input type="text" id="txt_startdate" runat="server"  class="form-control _dt"   />
        </td>
    <td>
  到:
        </td>
    <td>
 <input type="text" id="txt_enddate" runat="server"  class="form-control _dt"  />

 </td>

 </tr>
 
 <tr>
     <td>会议区域</td>
     <td>

<uc1:area ID="area1" runat="server" OnAreaChanged="area1_changed"/>
         <style>
             .areacss {
              display:none
             }
         </style>
     </td>
 </tr>
 <tr>
<td>
3.会议室</td>
     
     <td colspan="3">
       
   <asp:CheckBoxList ID="cbl_place" Width="100%" RepeatColumns="4" runat="server"    >
   </asp:CheckBoxList>


 </td>
 
</tr>
<tr>

<td colspan="4" style="text-align:center">
    <asp:Button ID="btn_search"  CssClass="btn btn-primary btn-flat"  runat="server" Text=" 搜 索 " 
        onclick="btn_search_Click" />

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




    <asp:ListView ID="ListView1" runat="server" 
          onpagepropertieschanging="lv_lists_PagePropertiesChanging"
        ItemContainerID="layoutTableTemplate" 
              DataKeyNames="id" onitemdatabound="ListView1_ItemDataBound"       >



              
    <LayoutTemplate>
 
   <table  class="table">
      <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
    </table>
  </LayoutTemplate>
     
  
   
    <ItemTemplate>
     

		
    <tr style="background-color:#f2f2f2">
    	 <td colspan=6 align="right"> 
    		 <a target="_blank" href='details.aspx?id=<%# Eval("id")%>' class="btn btn-flat btn-primary btn-sm">查看</a>  
     		 <a href='editbook.aspx?id=<%# Eval("id")%>'   class="btn btn-flat bg-green btn-sm">更新</a> 
             <a href='delete.aspx?id=<%# Eval("id")%>'   class="btn btn-flat btn-danger btn-sm">取消</a> 
       			
    	 </td> 	
     </tr>
    
    
    
    
     <tr  align="left">
			 <td  width="33%"   colspan="2"><b>会议ID:</b> <%# Eval("id")%>
             (<span style=" font-size:10px">Create Date <%# DtHelper.GetDayTime(Eval("createdate"))%> </span>)
			  </td>
			 <td  width="33%" colspan="2"><b>预订者:</b> <%# Eval("username")%> </td>
			  <td  width="33%" colspan="2"><b>状态(Status:)</b>  
			      <asp:Label ID="lbl_process" runat="server" Text=""></asp:Label>
			  </td>
	 </tr>
							
	  
         
       <tr  >
			 <td      colspan="2"><b>会议室：( Room)：</b><%# Eval("roomname")%></td>
			 <td   colspan="4"><b>会议主题：(Subject)：</b><div  style=" word-break:break-all; display:inline-block"><%# Eval("intro")%></div></td>
	 </tr>
	
	
	  
         
       <tr  align="left">
			 <td      colspan="3"><b>会议开始时间(Start)：</b><font color=#006699><%# DtHelper.GetDayTime(Eval("begintime"))%></font></td>
			 <td    colspan="3"><b>会议结束时间(End)：</b><font color=#006699><%# DtHelper.GetDayTime(Eval("endtime")) %></font></td>
	 	</tr>
	   		
	   		 
	   		
	   		
    </ItemTemplate>


    
    </asp:ListView>




    
<div>
 <asp:DataPager ID="Pager"   class="btn-group btn-group-sm" EnableViewState="false"
        PagedControlID="ListView1" runat="server" PageSize=10>
 <Fields>
           
     
            <asp:NextPreviousPagerField 
                PreviousPageText="<" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="true" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
                ButtonCssClass="btn btn-default" 
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />

            <asp:NumericPagerField 
                ButtonType="Link" 
                CurrentPageLabelCssClass="btn btn-primary disabled"  
                RenderNonBreakingSpacesBetweenControls="false"
                NumericButtonCssClass="btn btn-default" 
                ButtonCount="10" 
                NextPageText="..." 
                NextPreviousButtonCssClass="btn btn-default" />
            
           <asp:NextPreviousPagerField 
               NextPageText=">" 
               LastPageText=">|" 
               ShowNextPageButton="true"
               ShowLastPageButton="true" 
               ShowPreviousPageButton="false" 
               ShowFirstPageButton="false"
               ButtonCssClass="btn btn-default" 
               RenderNonBreakingSpacesBetweenControls="false" 
               RenderDisabledButtonsAsLabels="false"/>
      

  </Fields> 
</asp:DataPager>
</div>






</asp:Content>
