<%@ page language="C#" autoeventwireup="true" inherits="setup, App_Web_izihl4ny" %>
<!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">
<title>MSSQL数据库安装</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="MSSQL数据库安装" />
<meta name="description" content="MSSQL数据库安装" />
<meta http-equiv="Pragma" content="no-cache"/> 
<meta http-equiv="Cache-Control" content="no-cache"/> 
<meta http-equiv="Expires" content="0"/> 
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <form id="form1" runat="server">
    <div><br />
    <table width="775" border="0" cellpadding="1" cellspacing="1" bgcolor="#dedede" align="center">
  <tr bgcolor="#ffffff"> 
    <td height="45" colspan="3"><h1>&nbsp;MSSQL数据库安装：<font color="#ff0000"><asp:Literal ID="LiteralMsg" runat="server"></asp:Literal></font></h1>&nbsp;</td>
  </tr>
   <asp:Panel ID="Panel1" runat="server">
  <tr bgcolor="#f6f6f6"> 
    <td width="104" height="35">&nbsp;第一步：</td>
    <td width="566">&nbsp;链接数据库</td>
    <td width="95"><div align="center"><font color="#ff0000"><asp:Literal ID="LiteralStep1" runat="server"></asp:Literal></font></div></td>
  </tr>
 <tr bgcolor="#ffffff"> 
    <td width="104" height="35">&nbsp;</td>
    <td width="566">&nbsp;数据库IP：<asp:TextBox ID="database_ip" runat="server" MaxLength="30" Width="200px"></asp:TextBox>&nbsp;（没有IP请输入数据库实例名）
    </td>
    <td width="95">&nbsp;</td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td width="104" height="35">&nbsp;</td>
    <td width="566">&nbsp;数据库名称：<asp:TextBox ID="database_n" runat="server" MaxLength="30"></asp:TextBox>
    </td>
    <td width="95">&nbsp;</td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td width="104" height="35">&nbsp;</td>
    <td width="566">&nbsp;数据库用户：<asp:TextBox ID="database_u" runat="server" MaxLength="30"></asp:TextBox>
    &nbsp;数据库密码：<asp:TextBox ID="database_p" runat="server" TextMode="Password" MaxLength="30"></asp:TextBox>
    </td>
    <td width="95">&nbsp;</td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td height="35">&nbsp;</td>
    <td>&nbsp;<asp:Button ID="Button1" runat="server" Text="链接数据库" onclick="Button1_Click" /></td>
    <td>&nbsp;<asp:HiddenField ID="database_p_encode" runat="server" /></td>
  </tr>
   </asp:Panel>
   <asp:Panel ID="Panel2" runat="server">
  <tr bgcolor="#f6f6f6"> 
    <td height="35">&nbsp;第二步：</td>
    <td>&nbsp;创建数据库表、视图、存储过程等</td>
    <td><div align="center"><font color="#ff0000"><asp:Literal ID="LiteralStep2" runat="server"></asp:Literal></font></div></td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td height="35">&nbsp;</td>
    <td>&nbsp;<asp:Button ID="Button2" runat="server" Text="执行" onclick="Button2_Click" /></td>
    <td>&nbsp;</td>
  </tr>
  </asp:Panel>
  <asp:Panel ID="Panel3" runat="server">
  <tr bgcolor="#f6f6f6"> 
    <td height="35">&nbsp;第三步：</td>
    <td>&nbsp;导入原始数据资料</td>
    <td><div align="center"><font color="#ff0000"><asp:Literal ID="LiteralStep3" runat="server"></asp:Literal></font></div></td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td height="35">&nbsp;</td>
    <td>&nbsp;<asp:Button ID="Button3" runat="server" Text="导入" onclick="Button3_Click" /></td>
    <td>&nbsp;<asp:HiddenField ID="HasImported" runat="server" /></td>
  </tr>
  </asp:Panel>
  <asp:Panel ID="Panel4" runat="server">
  <tr bgcolor="#f6f6f6"> 
    <td height="35">&nbsp;第四步：</td>
    <td>&nbsp;修改Web.config配置</td>
    <td><div align="center"><font color="#ff0000"><asp:Literal ID="LiteralStep4" runat="server"></asp:Literal></font></div></td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td height="35">&nbsp;</td>
    <td>&nbsp;<asp:Button ID="Button4" runat="server" Text="修改" onclick="Button4_Click" /></td>
    <td>&nbsp;</td>
  </tr>
  </asp:Panel>
  <asp:Panel ID="Panel5" runat="server">
  <tr bgcolor="#f6f6f6"> 
    <td height="35">&nbsp;第五步：</td>
    <td>&nbsp;删除安装文件</td>
    <td><div align="center"><font color="#ff0000"><asp:Literal ID="LiteralStep5" runat="server"></asp:Literal></font></div></td>
  </tr>
  <tr bgcolor="#ffffff"> 
    <td height="35">&nbsp;</td>
    <td>&nbsp;<asp:Button ID="Button5" runat="server" Text="删除" onclick="Button5_Click" /></td>
    <td>&nbsp;</td>
  </tr>
  </asp:Panel>
</table>
    </div>
    </form>
</body>
</html>
