<%@ Page Title="调用接口" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Book_Client_Caller.aspx.cs" Inherits="Book.Admin.Book_Client_Caller" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">



<div class="result-wrap">

     <div class="result-title">
     <b>使用方法</b><br />

      <u>(1)Windows版本</u><br />

     1.下载终端windows客户端  <a href="../wap/book_client_for_windows.zip" target="_blank">Windows</a><br />
 2.用记事本打开ClientExe.exe.config配置调用的URL (请注意扩展名为.config)<br />
 3.双击ClientExe.exe即可显示终端显示(此调用针对1024*768分辨率定制，如果是其它分辨率请自己调整)<br />

  <u>(1)Android版本</u><br />
1.下载终端Android客户端  <a href="../wap/book_android.zip" target="_blank">Android</a><br />
2.运行后，在设置里，输入调用的URL
      </div>

       <br />


       <div class="result-title">
     <b>会议室调用URL，单击连接可以获取</b> 
</div>
            <div class="result-content">
              
 
    <asp:GridView ID="GridView1" runat="server" Width="90%" AutoGenerateColumns="False" 
        DataKeyNames="id" DataSourceID="SqlDataSource1" cssclass="result-tab">
        <Columns> 
            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" 
                ReadOnly="True" SortExpression="id" />
         
            <asp:BoundField DataField="areaname" HeaderText="区域名称" SortExpression="areaname" />
               <asp:BoundField DataField="catname" HeaderText="会议室名称" 
                SortExpression="catname" />

            <asp:TemplateField>
                 <HeaderTemplate>模板1</HeaderTemplate>
            <ItemTemplate>
            
                
   <a target="_blank"  href="../wap/room.aspx?roomid=<%#Eval("id") %>">网址(Web预览)</a> &nbsp;&nbsp;
 
            </ItemTemplate>
            
            </asp:TemplateField>


              <asp:TemplateField>
                 <HeaderTemplate>模板2</HeaderTemplate>
            <ItemTemplate>
            
                
   <a target="_blank"  href="../wap/room2.aspx?roomid=<%#Eval("id") %>">网址(Web预览)</a> &nbsp;&nbsp;
 
            </ItemTemplate>
            
            </asp:TemplateField>

        </Columns>
    </asp:GridView>
     

     </div>
     </div>



    <asp:SqlDataSource  ConnectionString="<%$ ConnectionStrings:Connectionstring %>" 
        ID="SqlDataSource1" runat="server"  
        ProviderName="System.Data.SqlClient" 
        SelectCommand="SELECT   book_categories.id as Id,
       areaname,catname
  FROM  [book_categories] inner join book_category_area
   on book_categories.areaid=book_category_area.id
   order by areaname,catname" 
        >
       
         
    </asp:SqlDataSource>
 


</asp:Content>
