default.aspx

来自「This is not a very mean things.」· ASPX 代码 · 共 83 行

ASPX
83
字号
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" Debug="true" %>

<!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>煤炭销售管理系统源码</title>
    <link href="StyleSheet.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/jindie.gif" Width="960px"/>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <table>
                        <tr>
                            <td colspan="3"><h3>煤炭销售管理系统</h3>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">帐号
                            </td>
                            <td style="width: 100px">
                                <asp:TextBox ID="NameTextBox" runat="server" Style="position: relative"></asp:TextBox></td>
                            <td style="width: 100px">
                                </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">密码
                            </td>
                            <td style="width: 100px">
                                <asp:TextBox ID="PasswordTextBox" runat="server" Style="position: relative" TextMode="Password"></asp:TextBox></td>
                            <td style="width: 100px">
                                </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal">
                                    <asp:ListItem Selected="True">销售人员</asp:ListItem>
                                    <asp:ListItem>管理员</asp:ListItem>
                                </asp:RadioButtonList>
                                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                                    SelectCommand="SELECT * FROM [Managers]"></asp:SqlDataSource>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 100px">
                            </td>
                            <td style="width: 100px">
                                <asp:Button ID="LoginButton" runat="server" Text="登录" OnClick="LoginButton_Click" />
                                <asp:Button ID="CancelButton" runat="server" Style="position: relative; left: 60px; top: 0px;" Text="取消" OnClientClick="alert('你已经取消登录!')"/></td>
                            <td style="width: 100px">
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" align="center">
                                <font color="#ff1111">时间</font><input type="text" name="time1" size="20" ReadOnly>
                            </td>
                        </tr>
                    </table>                   
                    <marquee behavior="alternate">欢迎使用煤炭销售系统</marquee>                    
                </td>
            </tr>
        </table>       
    </div>
    </form>
    <script language="javaScript">
	var  time1=setInterval("getClockTime()",1000);
	function getClockTime()
	{
		var now=new Date();
		document.forms[0].time1.value=now.getHours()+":"+now.getMinutes()+":"+now.getSeconds();
	}
    </script>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?