<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" EnableEventValidation="false" CodeBehind="PC_dataman.aspx.cs" Inherits="Helpdesk.Helpdesk.PC_dataman" %>

<!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 runat="server">
    <title></title>
    
       <style>
 
 
  
   .btn{border:1px solid #919699; 
  background:#fcfcfc;  
  text-align:center; 
  text-decoration:none; 
  padding:1px 5px; 
  cursor:pointer; 
  margin-right:2px;
  font-size:12px;
  width: 78px;
 height: 25px;
}


 </style>
 
 
 
</head>
<body style=" font-family:Verdana; font-size:12px ">
    <form id="form1" runat="server">
    <div>
    
        <asp:Button ID="Button1" runat="server" Text="导出"    CssClass="btn"
            onclick="Button1_Click"/>
     
    <br />
    <fieldset>
    <legend>提示</legend>
 
   
   
    </fieldset>
    <br />
    </div>
    <asp:GridView ID="gv_list" runat="server" Width="2800px" 
        onrowdatabound="gv_list_RowDataBound"  PageSize=50
         AutoGenerateColumns="false" AllowPaging="true" 
        onpageindexchanging="gv_list_PageIndexChanging">
    <Columns>
    
    
      <asp:BoundField  HeaderText="ID"          DataField="ID"   ItemStyle-Width="60px"   />
          <asp:BoundField  DataField="belongto"   HeaderText="所属组织"    ItemStyle-Width="100px"   />


      <asp:BoundField  HeaderText="机器名"     DataField="pcname"      ItemStyle-Width="200px" />
      <asp:BoundField  HeaderText="资产编号"   DataField="assettag"   ItemStyle-Width="150px"  />
      <asp:BoundField  HeaderText="使用者"     DataField="enduser"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="使用部门"   DataField="dept"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="机器型号"   DataField="spec"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="序列号"     DataField="Serial"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="使用状态"   DataField="usestatus"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="机器用途"   DataField="usetype"    ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="显示器"     DataField="display"      ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="主板号"     DataField="mainboardserialno"      ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="主板制造商" DataField="mainboardmanufacture"    ItemStyle-Width="100px"   />
  
      <asp:BoundField  HeaderText="操作系统"   DataField="os"           ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="Office"      DataField="Office"       ItemStyle-Width="100px"   />
   
      <asp:BoundField  HeaderText="采购日期"   DataField="buydate"   DataFormatString="{0:yyyy-MM-dd}"   ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="保修日期"   DataField="expiredate"   DataFormatString="{0:yyyy-MM-dd}"   ItemStyle-Width="100px"   />
      <asp:BoundField  HeaderText="存放位置"   DataField="storeplace"    ItemStyle-Width="100px"   />
          <asp:BoundField  HeaderText="显示器"   DataField="display"    ItemStyle-Width="100px"   />
  
     
       <asp:BoundField  HeaderText="IP"   DataField="ip"    ItemStyle-Width="100px"   />
       <asp:BoundField  HeaderText="MAC"   DataField="MAC"    ItemStyle-Width="100px"   />




         <asp:BoundField  HeaderText="CPU"   DataField="CPU"    ItemStyle-Width="100px"   />
         <asp:BoundField  HeaderText="内存"   DataField="mem"    ItemStyle-Width="100px"   />
         <asp:BoundField  HeaderText="硬盘"   DataField="harddisk"    ItemStyle-Width="100px"   />
         <asp:BoundField  HeaderText="鼠标"   DataField="mouse"    ItemStyle-Width="100px"   />
         <asp:BoundField  HeaderText="键盘"   DataField="keyboard"    ItemStyle-Width="100px"   />
         <asp:BoundField  HeaderText="光驱"   DataField="CD"    ItemStyle-Width="100px"   />
        <asp:BoundField  HeaderText="声卡"   DataField="sound"    ItemStyle-Width="100px"   />
        <asp:BoundField  HeaderText="网卡"   DataField="netcard"    ItemStyle-Width="100px"   />



     
        <asp:BoundField  HeaderText="预留字段1"   DataField="prezver1"    ItemStyle-Width="100px"   />
    
       <asp:BoundField  HeaderText="预留字段2"   DataField="prezver2"    ItemStyle-Width="100px"   />
    
       <asp:BoundField  HeaderText="自定义硬件列表"   DataField="hardwarelist"    ItemStyle-Width="100px"   />
    
       <asp:BoundField  HeaderText="自定义软件列表"   DataField="softwarelist"    ItemStyle-Width="100px"   />
    
    
    
      <asp:BoundField  HeaderText="备注"       DataField="note"           ItemStyle-Width="200px"   />
   
      </Columns>
    
    </asp:GridView>
    </form>
</body>
</html>
