<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Step3.aspx.cs" Inherits="YCHR.Web.Install.Step3" %>

<!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>易辰人才系统 安装向导</title>
    <link rel="stylesheet" href="style/style.css" type="text/css" media="all" />
    
</head>
 <body>
<form id="Form1" runat="server">

    <div class="container">
        <div class="header">
            <h1>
                团购CMS 安装向导</h1>
            <span>易辰人才系统V<%=YCHR.Common.Utils.Version%></span>
            <div class="setup step3">
                <h2>
                    安装数据库</h2>
                <p>
                    正在执行数据库安装</p>
            </div>
            <div class="stepstat">
                <ul>
                    <li class="">1</li>
                    <li class="current">2</li>
                    <li class="">3</li>
                    <li class="unactivated last">4</li>
                </ul>
                <div class="stepstatbg stepstat1">
                </div>
            </div>
        </div>
        <div class="main">
        <div class="desc"><b>填写数据库信息</b></div>
            <table class="tb2">
               
                
                  
                <tr>
                    <th class="tbopt">
                        数据库类型:
                    </th>
                    <td>
                        SQL2000,SQL2005及以上
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <th class="tbopt">
                        &nbsp;数据库服务器:
                    </th>
                    <td>
                        <asp:TextBox runat="server" CssClass="txt" ID="DBServer"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;数据库服务器地址, 一般为 localhost
                    </td>
                </tr>
                <tr>
                    <th class="tbopt">
                        &nbsp;数据库名:
                    </th>
                    <td>
                        <asp:TextBox runat="server" CssClass="txt" ID="DBName"></asp:TextBox>
                    </td>
                    <td>
                        <asp:CheckBox value="1" Checked="false" ID="createNewDataBase" CssClass="tn-checkbox"
                            runat="server" />
                        创建新库
                        <asp:RequiredFieldValidator ID="RequiredDBName" runat="server" ValidationGroup="InstallGroup"
                            CssClass="error" ControlToValidate="DBName" ErrorMessage="请填写数据库名称"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th class="tbopt">
                        &nbsp;数据库用户名:
                    </th>
                    <td>
                        <asp:TextBox runat="server" CssClass="txt" ID="DBUser"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredDBUser" runat="server" ValidationGroup="InstallGroup"
                            CssClass="error" ControlToValidate="DBUser" ErrorMessage="请填写数据库用户帐号"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <th class="style1">
                        &nbsp;数据库密码:
                    </th>
                    <td class="style1">
                        <asp:TextBox TextMode="Password" runat="server" CssClass="txt" ID="DBPassWord"></asp:TextBox>
                    </td>
                    <td class="style1">
                        <asp:CheckBox AutoPostBack="true" ID="isShowWord" CssClass="tn-checkbox" runat="server"
                            OnCheckedChanged="isShowWord_CheckedChanged" />
                        显示字符
                    </td>
                </tr>
                <tr id="tips" style="display: none">
                    <th class="tbopt" colspan="3">
                        此步骤需要时间较长，请耐心等待！执行成功后将自动跳转到下一页
                    </th>
                </tr>
                <tr>
                    <th class="tbopt" colspan="3">
                        <span id="errorfont" class="detectionError-font">
                            <asp:Literal ID="Errors" runat="server"></asp:Literal>
                            <asp:TextBox runat="server" ID="connectionStringText" Visible="false"></asp:TextBox>
                        </span>
                    </th>
                </tr>
                <tr>
                    <th class="tbopt" colspan="3">
                      
                        <asp:Button ID="nextStep"    
                            ValidationGroup="InstallGroup"    Text="安装"   runat="server" onclick="nextStep_Click" 
                           />
                    </th>
                </tr>
            </table>
            <div class="footer">
                ©2011 - 2014 <a href="http://www.aspxjob.com/">AspxJob</a> Inc.</div>
        </div>
    </div>
    

</form></body>
</html>
