⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 profileupdate.aspx

📁 《圣殿祭司的ASP.NET 2.0开发详解——使用C#》光盘内容.包含了书籍所含的源代码.非常经典的一本asp.net2.0的书籍
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProfileUpdate.aspx.cs" Inherits="ProfileUpdate" %>

<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    登录者:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:LoginName ID="LoginName1" runat="server" ForeColor="Blue" />
                </td>
            </tr>
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    Sex:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:DropDownList ID="dwnSex" runat="server" Width="67px" BackColor="White">
                        <asp:ListItem Value="1">男</asp:ListItem>
                        <asp:ListItem Value="0">女</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    国家和地区:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:Label ID="txtCountry" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td style="width: 100px; height: 21px" bgcolor="#ffccff">
                    省 市:</td>
                <td style="width: 100px; height: 21px" bgcolor="#ffcc99">
                    <asp:DropDownList ID="dwnCity" runat="server" BackColor="White">
                        <asp:ListItem>北京</asp:ListItem>
                        <asp:ListItem>上海</asp:ListItem>
                        <asp:ListItem>武汉</asp:ListItem>
                        <asp:ListItem>广州</asp:ListItem>                        
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    邮&nbsp; 政编码:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:TextBox ID="txtPostalCode" runat="server" BackColor="White"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    生 日:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#3366CC"
                        BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana"
                        Font-Size="8pt" ForeColor="#003399" Height="200px" Width="220px">
                        <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                        <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                        <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                        <WeekendDayStyle BackColor="#CCCCFF" />
                        <OtherMonthDayStyle ForeColor="#999999" />
                        <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                        <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                        <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                            Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                    </asp:Calendar>
                </td>
            </tr>
            <tr>
                <td style="width: 100px; height: 24px;" bgcolor="#ffccff">
                    学 历:</td>
                <td style="width: 100px; height: 24px;" bgcolor="#ffcc99">
                    <asp:DropDownList ID="dwnEduDegree" runat="server" BackColor="White">
                        <asp:ListItem>初中</asp:ListItem>
                        <asp:ListItem>高中</asp:ListItem>
                        <asp:ListItem>大学</asp:ListItem>
                        <asp:ListItem>硕士</asp:ListItem>
                        <asp:ListItem>博士</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px; height: 24px;" bgcolor="#ffccff">
                    星 座:</td>
                <td style="width: 100px; height: 24px;" bgcolor="#ffcc99">
                    <asp:DropDownList ID="dwnConstellation" runat="server" BackColor="White">
                        <asp:ListItem>魔羯</asp:ListItem>
                        <asp:ListItem>水瓶</asp:ListItem>
                        <asp:ListItem>双鱼</asp:ListItem>
                        <asp:ListItem>牡羊</asp:ListItem>
                        <asp:ListItem>金牛</asp:ListItem>
                        <asp:ListItem>双子</asp:ListItem>
                        <asp:ListItem>巨蟹</asp:ListItem>
                        <asp:ListItem>狮子</asp:ListItem>
                        <asp:ListItem>处女</asp:ListItem>
                        <asp:ListItem>天秤</asp:ListItem>
                        <asp:ListItem>天蝎</asp:ListItem>
                        <asp:ListItem>射手</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 100px; height: 26px;" bgcolor="#ffccff">
                    血 型:</td>
                <td style="width: 100px; height: 26px;" bgcolor="#ffcc99">
                    <asp:DropDownList ID="dwnBloodType" runat="server" BackColor="White">
                        <asp:ListItem>A</asp:ListItem>
                        <asp:ListItem>B</asp:ListItem>
                        <asp:ListItem>O</asp:ListItem>
                        <asp:ListItem>RH</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 100px" bgcolor="#ffccff">
                    职 业:</td>
                <td style="width: 100px" bgcolor="#ffcc99">
                    <asp:TextBox ID="txtCareer" runat="server" BackColor="White"></asp:TextBox></td>
            </tr>
            <tr>
                <td bgcolor="#ccff99" colspan="2" style="height: 21px">
                    <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="保存修改" />&nbsp;
                    <asp:Button ID="btnSignOut" runat="server" OnClick="btnSignOut_Click" Text="退出" Width="67px" OnClientClick="return confirm('您确定要退出?');" /></td>
            </tr>
        </table>
    </form>
</body>
</html>

⌨️ 快捷键说明

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