<%@ 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>
会议室调用用来可用显示在外部的大屏幕上，拷贝下面链接地址，在浏览器其打开，系统每隔30秒钟刷新一次<br />
注意：打开的全屏调用，请使用 <b>Alt+F4</b> 关闭新打开的页面 <br /><br />
 
 自动分发功能<br />
 在使用无盘工作站时，系统将跟好客户端IP地址自动获取会议室信息，请设定IP地址和会议室名称的对应关系 <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;
  全屏调用 <a href="javascript:void(0)" onclick='opens(<%#Eval("id") %>)'  ><%#Eval("catname") %></a> 
            </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>
