<%@ page language="C#" autoeventwireup="true" inherits="SystemManagement_sysFtp, App_Web_wrcbq7tn" %>

<!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>创建系统ftp</title>
     <link href="../CssHtml.css" rel="stylesheet" type="text/css" />
        
</head>
<body style="font-size: 9pt; text-align :center">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
 
        <table   width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td style="height: 21px" align="left">目前位置：系统管理 - 系统ftp设置 - 系统ftp配置
                </td>
                <td style="height: 21px">
                </td>
                <td style="height: 21px" align="right">
                    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/Images/19.gif" Enabled ="false" ToolTip ="您没有管理权限" OnClick="ImageButton2_Click" />
                 
                                                <asp:ImageButton ID="img_refresh" ImageUrl ="../Images/18.gif"  runat="server" OnClick="img_refresh_Click" />
                                            <a href="../OnlineHelp/OnlineHelp.aspx" target="_blank">
                                        <img src="../Images/8.gif" style="border-top-style: none; border-right-style: none;
                                            border-left-style: none; border-bottom-style: none;" /></a>  
                    </td>
            </tr>
            <tr>
                <td colspan="3"  valign=top>
                    <asp:GridView ID="GridView1" runat="server" Width="100%" DataSourceID="SqlDataSource1" Font-Size="9pt" OnDataBound="GridView1_DataBound" HeaderStyle-BackColor="#83BBD9" HeaderStyle-Font-Bold="true" HeaderStyle-ForeColor="White">
                     <EmptyDataTemplate>
                                <table width="100%">
                                    <tr style=" background-color:#1471B0; 
                                        border-right: #6699cc 1px solid; border-top: #6699cc 1px solid; border-left: #6699cc 1px solid;
                                        border-bottom: #6699cc 1px solid;">
                                        <td align="center" style ="font-weight: bold; font-size: 9pt; color: white; ">
                                            操作
                                        </td>
                                        <td align="center" style ="font-weight: bold; font-size: 9pt; color: white; ">
                                            ftp名称
                                        </td>
                                        <td align="center" style ="font-weight: bold; font-size: 9pt; color: white; ">
                                            ftp路径(ip)
                                        </td>
                                         <td align="center" style ="font-weight: bold; font-size: 9pt; color: white; ">
                                            默认ftp
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="3" style="font-weight: normal; font-size: 9pt;">
                                            没有数据................................
                                        </td>
                                    </tr>
                                </table>
                            </EmptyDataTemplate>
                        <Columns>
                            <asp:TemplateField HeaderText="操作">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Button ID="Button3" runat="server" Text="设为默认" CommandName ='<%# Eval("ftp名称") %>' BorderStyle="None" Font-Underline=true  BackColor="Transparent" ForeColor="Desktop" OnClick="Button3_Click" />
                                <asp:ImageButton  ID ="delImage" runat ="server"  BorderWidth="0px"  CommandName='<%# Eval("ftp名称") %>'  ImageUrl="~/Images/DEL2.gif" OnClick="delImage_Click" OnClientClick="return confirm('确认删除?')" />
                                   
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <HeaderStyle BackColor="#1471B0" Font-Bold="True" ForeColor="White" />
                    
                    </asp:GridView>
                  
                    <asp:Label ID="lblState" runat="server" ForeColor="Red" Width="310px" Height="21px"></asp:Label>
                </td>
            </tr>
            <tr>
                <td colspan="3" valign =top >
              
                    <asp:Panel ID="Panel1" runat="server" Width="100%">   
                    <table class="tbClass" style="width: 100%; border-right: #ff0000 2px solid; border-top: #ff0000 2px solid; border-left: #ff0000 2px solid; border-bottom: #ff0000 2px solid;margin-top: 0px;" cellpadding="0" cellspacing="0" id="TABLE1">
                        
                        <tr>
                        
                        <td style=" background-color: #83bbd9; width: 180px;">
                            ftp名称</td>
                        <td style=" background-color: #83bbd9; border-left: white 1px solid;">
                            ftp路径</td>
                        <td style=" background-color: #83bbd9; border-left: white 1px solid;">
                            ftp登陆名称</td>
                        <td style="background-color: #83bbd9; border-left: white 1px solid;">
                            ftp登陆密码</td>
                        
                        
                        
                        </tr>
                        
                        <tr>
                            <td style="border-bottom: #0033ff 1px solid; width: 30%;"><asp:TextBox ID="txtftpname" runat="server" Height="17px" Width="167px"  ></asp:TextBox><font color=red > *</font>
                               <input id="radioDefault" runat="server" type="radio" name="radioDefault" title="选择默认将取消现有默认" />默认
                                </td>
                             <td style="border-bottom: #0033ff 1px solid; border-left: white 1px solid; width: 30%;" >
                                        ftp://<asp:TextBox ID="txtftppath" runat="server" Height="17px"  Width="195px"  >192.168.1.1</asp:TextBox><font color=red >*</font>
                                      </td>
                            <td style="border-bottom: #0033ff 1px solid; border-left: white 1px solid; width: 20%;"  ><asp:TextBox ID="txtlogin" runat="server" Height="17px"  Width="122px" ></asp:TextBox><font color=red >*</font> </td>
                            <td align="center" style="border-left: white 1px solid; border-bottom: #0033ff 1px solid; width: 20%;">
                                        <asp:TextBox ID="txtpwd" runat="server" Height="17px" TextMode="Password"  ></asp:TextBox><font color=red >*</font></td>
                        </tr>
                                
                                <tr>
                                <td colspan =4 align="right">
                                   <asp:Label ID="Label7" runat="server" Style="color: Red; " Font-Size="9pt" Width="309px" ></asp:Label>
                                        
                                     
                                       <asp:Button ID="Button1" runat="server" Text="创 建"  OnClick="Button1_Click" Width="58px"  />
                                    <asp:Button ID="btn_reset" runat="server" OnClick="btn_reset_Click" Text="重 置" />
                                    <asp:Button
                                            ID="Button2" runat="server" Text="退 出" OnClick="Button2_Click" Width="58px"  /></td>
                                </tr>
            
        </table>
                    </asp:Panel>
                       
                
                </td>
            </tr></table>
  
                   
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" >
                      
                        
                        </asp:SqlDataSource>
    </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
