<%@ Page Title="" Language="C#" MasterPageFile="~/Book/Book.master" AutoEventWireup="true" CodeBehind="Pad.aspx.cs" Inherits="Book.Book.Pad" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cont_form" runat="server">

     <div class="well">

    启明星系统支持windows和android 终端显示，默认使用Android平板。系统提供两种模板供您使用。
         </div>

    使用方法：<br />
    <b>1.</b>在手机或者平板里输入 <a href="http://www.dotnetcms.cn/book.apk">http://www.dotnetcms.cn/book.apk</a> 下载此 book.apk
    
    或者访问本机的<a href="../wap/book.apk">book.apk</a> （<a target="_blank" href=http://www.cnblogs.com/mqingqing123/p/4741760.html>参考如何配置IIS支持apk访问</a>）
    
     <br /><br />
    <b>2.</b>运行book.apk，单击“设置URL”，输入下面会议室的网址。如果网址以 http://localhost开头，localhost要更改为机器IP地址  <br /><br />
    <b>3.</b>单击运行<br /><br />








     <asp:GridView ID="GridView1" runat="server" Width="90%" AutoGenerateColumns="False" 
        DataKeyNames="id" DataSourceID="SqlDataSource1" cssclass="table" GridLines="None">
        <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/room1.aspx?roomid=<%#Eval("id") %>">模板1(Web预览)</a> &nbsp;&nbsp;
 
         </ItemTemplate>
         
         </asp:TemplateField>

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



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

        </Columns>
    </asp:GridView>
     
 


    <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 where cattype='room'
   order by id asc  " 
        >
       
         
    </asp:SqlDataSource>

</asp:Content>
