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

📄 userinfo.aspx

📁 一个简单的网上书店
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/HT.master" CodeFile="userInfo.aspx.cs" Inherits="userInfo" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
    <div style="z-index: 101; left: 22px; width: 804px; position: absolute; top: 0px;
        height: 597px">
         <table style="width: 670px">
            <tr class="category">
                <td style="width: 670px;" align="center" valign="middle">
                  <span style="color: #000066; font-family: 宋体; font-size:15px;">用户详细信息</span></td>
            </tr>
            <tr>
                <td style="width: 670px" align="center" valign="middle">
                    <asp:DetailsView ID="dlvuserInfo" runat="server" AutoGenerateRows="False" Height="50px"
                        Width="624px">
                        <Fields>
                            <asp:TemplateField>
                                <ItemTemplate>
                                    <table cellspacing="0" cellpadding="5">
                    <tbody>  
                         <tr class="category">
                            <td  colspan="2" align="left"></td>
                         </tr>
                        <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px;" class="subject" align="center">
                                编号:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7;" align="left" valign="top">
                                <%#Eval("Id") %></td>
                        </tr>
                        <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px; height: 20px;" class="subject" align="center">
                                用户名:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7; height: 20px;" align="left" valign="top">
                                <%#Eval("LoginId") %></td>
                        </tr>
                          <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px; height: 16px;" class="subject" align="center">
                                昵称:</td>
                            <td style="width: 300px; background-color:#f7f7f7; height: 16px;" align="left" valign="top">
                                <%#Eval("Name") %></td>
                        </tr>
                        <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px;" class="subject" align="center">
                                密码:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7; height: 16px;" align="left" valign="top">
                                <%#Eval("LoginPwd") %></td>
                        </tr>
                         <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="height: 20px" align="center" class="subject">
                            地址:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7; height: 20px;" align="left"><%#Eval("Address") %></td>
                         </tr>
                        <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px;" class="subject" align="center">
                                电子邮箱:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7;" align="left" valign="top">
                               <%#Eval("Mail") %></td>
                        </tr>
                        <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px;" class="subject" align="center">
                                用户角色:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7;" align="left" valign="top">
                                <asp:DropDownList ID="cboRole" runat="server" Width="126px" DataSourceID="objRole" DataTextField="Name" DataValueField="Id">                                   
                                </asp:DropDownList><asp:ObjectDataSource ID="objRole" runat="server" SelectMethod="selRole"
                                    TypeName="CommBLL.SelDataSouce"></asp:ObjectDataSource>
                            </td>
                        </tr>
                         <tr class="row" onmouseover="this.style.backgroundColor='#f7f7f7'" 
                             onmouseout="this.style.backgroundColor='#ffffff'">
                            <td style="width: 300px;" class="subject" align="center">
                                用户状态:
                            </td>
                            <td style="width: 300px; background-color:#f7f7f7;" align="left" valign="top">
                                <asp:RadioButtonList ID="rdblst" runat="server" DataTextField="Name" DataValueField="Id" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="1" Selected="True">启用</asp:ListItem>
                                    <asp:ListItem Value="2">禁止</asp:ListItem>
                                    <asp:ListItem Value="3">非法</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                                    </tr>

                                </tbody>
                                </table>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Fields>
                    </asp:DetailsView>
                            </td>
                            </tr>
                           <tr class="category">
                            <td  colspan="2" align="center"><asp:Button ID="Button2" runat="server" Text="修改" OnClick="Button2_Click" />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                            <asp:Button ID="Button1" runat="server" Text="删 除" OnClick="Button1_Click" />
                                </td>
                         </tr>
            
            </table>
        
    </div>
</asp:Content>

⌨️ 快捷键说明

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