<%@ Page Title="" Language="C#" MasterPageFile="admin.Master" AutoEventWireup="true" CodeBehind="Caller.aspx.cs" Inherits="Book.Book.Admin.Caller" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div id="sm">


 
    <script>

        function opens(id)
         {
             window.open("../wap/room.aspx?roomid=" + id, "", "fullscreen=yes");
             return false;
            
         }
    </script>
    
    

会议室调用
</div>

使用步骤<br />
1.下载客户端<a href="../wap/book_client_for_windows.zip" target="_blank">book_client_for_windows.zip</a>
 <br />
 2.用记事本打开ClientExe.exe.config配置调用的URL <br />
 3.双击ClientExe.exe即可显示终端显示(此调用针对1024*768分辨率定制，如果是其它分辨率请自己调整)<br />
  
 
    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="id" DataSourceID="SqlDataSource1" Width="600">
        <Columns>
            <asp:CommandField ShowEditButton="True" />
            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" 
                ReadOnly="True" SortExpression="id" />
            <asp:BoundField DataField="catname" HeaderText="catname" 
                SortExpression="catname" />
            <asp:BoundField DataField="ip" HeaderText="ip" SortExpression="ip" />
            
            <asp:TemplateField>
            <ItemTemplate>
            
                
  会议室名称 <a target="_blank"  href="../wap/room.aspx?roomid=<%#Eval("id") %>"> <%#Eval("catname") %></a> &nbsp;&nbsp;
 
            </ItemTemplate>
            
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <br />
    <br />
    <asp:SqlDataSource  ConnectionString="<%$ ConnectionStrings:Connectionstring %>" 
        ID="SqlDataSource1" runat="server" 
        DeleteCommand="DELETE FROM [book_categories] WHERE [id] = @id" 
        InsertCommand="INSERT INTO [book_categories] ([catname], [ip]) VALUES (@catname, @ip)" 
        ProviderName="System.Data.SqlClient" 
        SelectCommand="SELECT [id], [catname], [ip] FROM [book_categories]" 
        UpdateCommand="UPDATE [book_categories] SET [catname] = @catname, [ip] = @ip WHERE [id] = @id">
        <DeleteParameters>
            <asp:Parameter Name="id" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="catname" Type="String" />
            <asp:Parameter Name="ip" Type="String" />
            <asp:Parameter Name="id" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="catname" Type="String" />
            <asp:Parameter Name="ip" Type="String" />
        </InsertParameters>
    </asp:SqlDataSource>
 
 
 
 
 
</asp:Content>
