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


        


    <div>
    
     
          




<div id=sm>添加或者修改软件</div>


  <div   class=content >
 
 <asp:Panel runat="server" ID="pnl_detail">


      
      <table class="table table-hover">
        <tbody>
           
           <tr >     
     
          <th width="20%"  >  软件名称  </th>
       
          <td width="30%">
              <asp:TextBox ID="txt_softwarename" runat="server"  CssClass="form-control" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txt_softwarename" runat="server" ErrorMessage="必须输入软件名称" Display="Dynamic"></asp:RequiredFieldValidator>  
           
          </td>
        
          
          
          
              
                
         <th  width="20%">软件供应商</th>
          <td width="30%"> 
             
               <asp:TextBox ID="txt_manufacturer"  CssClass="form-control"  runat="server"  ></asp:TextBox>
               
             </td>
             </tr>
           
            
          
          
          
      <tr>     
              
              
          <th >软件序列号</th>
          <td >
                <asp:TextBox ID="txt_serialno"  CssClass="form-control"  runat="server"></asp:TextBox>
           </td>
           
             
         <th   >软件类别 
         
         </th>
          <td > 
              <asp:DropDownList ID="ddl_types"  CssClass="form-control"  runat="server">
             
              </asp:DropDownList>
             
            </td>
            
           
     
          </tr>
          
          
          
           
            
       
           
           
          
               

          


              <tr>      
         <th >所属组织:</th>
          <td > 
             
              <asp:TextBox ID="txt_belongto" runat="server"  CssClass="form-control"    ></asp:TextBox>
              
            </td>
            
     
          <th >使用部门</th>
          <td  >
                <asp:TextBox ID="txt_dept" runat="server"  CssClass="form-control"    ></asp:TextBox>
          
           </td>
          </tr>












            <tr>
                 <td colspan="4"  style="border:0px; background-color:#e0e0e0; height:10px;" ></td>


            </tr>




               <tr>      
         <th >软件版本:</th>
          <td > 
             
              <asp:TextBox ID="txt_version" runat="server"  CssClass="form-control"    ></asp:TextBox>
              
            </td>
            
     
          <th >限制用户数</th>
          <td  >
                <asp:TextBox ID="txt_limitedusers" runat="server"  CssClass="form-control"    ></asp:TextBox>
          
           </td>
          </tr>



                <tr >     
                
         <th >购买时间:</th>
          <td > 
             
              <asp:TextBox ID="dt_buydate" runat="server"  CssClass="form-control"  onClick="javascript:ShowCalendar(this)"  ></asp:TextBox>
              
            </td>
            
     
          <th >技术支持到期日</th>
          <td  >
                <asp:TextBox ID="dt_expiredate" runat="server"  CssClass="form-control"  onClick="javascript:ShowCalendar(this)"  ></asp:TextBox>
          
           </td>
          </tr>
          
           


      

                
         <tr>      
         <th >技术联系人:</th>
          <td > 
             
              <asp:TextBox ID="txt_contactname" runat="server"  CssClass="form-control"    ></asp:TextBox>
              
            </td>
            
     
          <th >技术联系电话</th>
          <td  >
                <asp:TextBox ID="txt_contacttel" runat="server"  CssClass="form-control"    ></asp:TextBox>
          
           </td>
          </tr>



            
         <tr>      
         <th >软件价格:</th>
          <td > 
             
              <asp:TextBox ID="txt_price" runat="server"  CssClass="form-control"    ></asp:TextBox>
              
            </td>
            
     
          <th >编程语言</th>
          <td  >
              <asp:CheckBoxList runat="server" ID="cbl_lng" Width="99%"  RepeatColumns="6">
                    <asp:ListItem Text="C++" Value="C++"></asp:ListItem> 
                    <asp:ListItem Text=".NET" Value=".NET"></asp:ListItem>
                    <asp:ListItem Text="Java" Value="Java"></asp:ListItem>  
                    <asp:ListItem Text="C" Value="C"></asp:ListItem> 
                   <asp:ListItem Text="PHP" Value="PHP"></asp:ListItem>
                   <asp:ListItem Text="ASP" Value="ASP"></asp:ListItem>
                  
              </asp:CheckBoxList>
          
           </td>
          </tr>










                 
         <tr>      
         <th >支持操作系统:</th>
          <td > 
             
              <asp:CheckBoxList runat="server" ID="cbl_os" Width="99%"  RepeatColumns="3" RepeatDirection="Horizontal">
                    <asp:ListItem Text="Windows" Value="Windows"></asp:ListItem> 
                    <asp:ListItem Text="iOS" Value="iOS"></asp:ListItem>  
                    <asp:ListItem Text="Linux" Value="Linux"></asp:ListItem>

                    
                    <asp:ListItem Text="Android" Value="Android"></asp:ListItem> 
                   <asp:ListItem Text="iPhone" Value="iPhone"></asp:ListItem>
                  <asp:ListItem Text="Windows Phone" Value="Windows Phone"></asp:ListItem>  
                  
              </asp:CheckBoxList>
              
            </td>
            
     
          <th >数据库</th>
          <td  >
              <asp:CheckBoxList runat="server" ID="cbl_db" Width="99%"  RepeatColumns="3">
                    <asp:ListItem Text="MSSQL" Value="MSSQL"></asp:ListItem> 
                    <asp:ListItem Text="Oracle" Value="Oracle"></asp:ListItem>
                    <asp:ListItem Text="MySQL" Value="MySQL"></asp:ListItem>  
                    <asp:ListItem Text="NoSQL" Value="NoSQL"></asp:ListItem> 
                   <asp:ListItem Text="Access" Value="Access"></asp:ListItem>
              
                  
              </asp:CheckBoxList>
          
           </td>
          </tr>









          
              <tr bgColor=#ffffff>     
                
         <th >预留字段1:</th>
          <td > 
             
              <asp:TextBox ID="txt_prev1"   CssClass="form-control" runat="server"   ></asp:TextBox>
              
            </td>
            
     
          <th >预留字段2</th>
          <td >
              <asp:TextBox ID="txt_prev2" runat="server"    CssClass="form-control"   ></asp:TextBox>
		
           </td>
          </tr>
          
          
          <tr>

              <th>备注<br />

                <span style="color:gray">  可填写软件运行环境，合同说明，官网等信息

                    </span>
              </th>

              <td colspan="3">

  <asp:TextBox runat="server" Width="700px" CssClass="form-control" Height="60px" TextMode="MultiLine" ID="txt_notes"></asp:TextBox>
      

              </td>

          </tr>
        
          
</tbody>
</table>
        
        </asp:Panel> 
           
        <div style="width:90%; text-align:center">

            
                        <asp:Button ID="btn_add" runat="server" class="btn btn-flat btn-sm btn-primary" OnClick="softadd_Click"   Text="添加软件" />
           
               
                   
                      <asp:Button ID="btn_update" runat="server" class="btn btn-flat btn-sm btn-primary "  onclick="updated_Click" Text="更新" />
                         <asp:Button ID="btn_del" runat="server" class="btn btn-flat btn-sm  btn-danger"  onclick="del_Click" Text="删除" />
          

        </div>  


    </div>


    </div>

</asp:Content>
