• 一个简单的登录页面


     signin.aspx:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="SignIn.aspx.cs" Inherits="SignIn" %>

    <!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>Sign In</title>
        <style type="text/css">
            body
            {
                margin: 0 0 0 0;
                font-size:14px;
               
            }

            fieldset
            {
                340px;
                margin-top:inherit;  margin-left: auto;  margin-right: auto;
                padding-top: 100px;
                padding-bottom: 10px;
                border: solid 1 #6699ff;
            }
           
            legend
            {
                font-weight:bold;
                font-size:18px;
            }

            table
            {
                margin-left: auto;
                margin-right: auto;
            }

            td
            {
                padding-top: 8px;
                padding-bottom: 8px;
            }

            .lb
            {
                80px;
            }

            .username
            {
                text-transform:capitalize;
                150px;
            }
           
            .password
            {
                150px;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
            <fieldset>
                <legend>Simple Factory Pattern Demo</legend><br />
                <table>
                    <tr>
                        <td class="lb">
                            UserName:
                        </td>
                        <td>
                            <input name="txtUserName" type="text" id="txtUserName" class="username" />
                        </td>
                    </tr>
                    <tr>
                        <td class="lb">
                            Password:
                        </td>
                        <td>
                            <input name="txtPassword" type="text" id="txtPassword" class="password" />
                        </td>
                    </tr>
                    <%--   <tr>
                        <td class="lb">
                            Domain:
                        </td>
                        <td>
                            <input name="txtDomain" type="text" id="txtDomain" class="box" />
                        </td>
                    </tr>--%>
                    <tr>
                        <td colspan="2">
                            <input type="submit" name="btnSignIn" value="Sign In" id="btnSignIn" class="lb" onserverclick="btnSignIn_ServerClick"
                                runat="server" />
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </body>
    </html>

  • 相关阅读:
    grunt 执行
    Android Studio常见问题 -- AndroidManifest.xml 覆盖问题
    mac系统如何进行剪切
    转-Android Studio *.jar 与 *.aar 的生成与*.aar导入项目方法
    [转]--android studio 使用gradle 导出jar包,并打包assets目录
    [转] Java内部类详解
    [转 ]-- Java线程池使用说明
    Java 实现阶乘算法
    Java 实现二分法查找算法
    [转]-用Gradle 构建你的android程序
  • 原文地址:https://www.cnblogs.com/aspsmile/p/848313.html
Copyright © 2020-2023  润新知