<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pc_login_scan_software.aspx.cs" Inherits="Helpdesk.Helpdesk.pc_login_scan_software" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
     <link href="Style/Style.css" type="text/css" rel="stylesheet" />
</head>
<body style=" font-family:Verdana; font-size:12px;">
    <form id="form1" runat="server">
     <div>
   
   
   <font color=red>注意：必须先配置客户端 </font>  <a href="scan_help.htm" target="_blank">
  客户端配置帮助
    </a>
    
    &nbsp;&nbsp;&nbsp;&nbsp;
    
    <a href="pc_login_scan_software_export.aspx" target="_blank">导出扫描结果</a>
    <br /><br />
    扫描结果
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True"  PageSize=15 
                AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                <Columns>
                    <asp:BoundField DataField="pcname" HeaderText="机器名" 
                        SortExpression="pcname" />
                    <asp:BoundField DataField="ip" HeaderText="IP" SortExpression="ip" />
                    <asp:BoundField DataField="loginname" HeaderText="登录名" 
                        SortExpression="loginname" />
                    <asp:BoundField DataField="softwarename" HeaderText="软件名称" 
                        SortExpression="softwarename" />
                    <asp:BoundField DataField="installLocation" HeaderText="安装位置" 
                        SortExpression="installLocation" />
                    <asp:BoundField DataField="createdate" HeaderText="扫描日期" 
                        SortExpression="createdate" />
                </Columns>
                 
  
                  <HeaderStyle BackColor="#E0E0E0" Font-Bold="True" Height="30" HorizontalAlign="Center" />
    <AlternatingRowStyle BackColor="#F2F2F2" />
      <RowStyle BackColor="#ffffff"  Height="28"/>
    <PagerSettings Mode="NumericFirstLast" />    
            </asp:GridView>
            
            
      <asp:SqlDataSource ID="SqlDataSource1"
         ConnectionString="<%$ ConnectionStrings:connectionstring %>"
         runat="server" ProviderName="System.Data.SqlClient" 
                SelectCommand="SELECT [pcname], [ip], [loginname], [softwarename], [installLocation], [createdate] FROM [helpdesk_loginscan_software] ORDER BY [pcname]" >
         </asp:SqlDataSource>
    
    </div>
    </div>
    </form>
</body>
</html>
