日期:2014-05-17 浏览次数:20621 次
<%@ Page Language="C#" MasterPageFile="~/AdminMasterPage.master" AutoEventWireup="true" CodeFile="UserAdmin.aspx.cs" Inherits="BPage_UserAdmin" Title="用户管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style2
{
width: 100%;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="height: 530px; width:100%; position:absolute; left:0px; z-index:2; overflow:scroll" >
<asp:DataList ID="DataList" runat="server"
Width="100%" onitemcommand="DataList_ItemCommand"
onitemdatabound="DataList_ItemDataBound" BackColor="LightGoldenrodYellow"
BorderColor="Tan" BorderWidth="1px" CellPadding="2"
ForeColor="Black" DataKeyField="id"
ondeletecommand="DataList_DeleteCommand"
oneditcommand="DataList_EditCommand"
onupdatecommand="DataList_UpdateCommand"
oncancelcommand="DataList_CancelCommand">
<HeaderStyle BackColor="Tan" Font-Bold="True" />
<ItemTemplate>
<table width="100%" border="1">
<tr>
<td align="left"><asp:Label ID="LB_id" runat="server" Text='<%#Eval("id")%>'></asp:Label></td>
<td align="left">等级<asp:Label ID="LB_userlevel" runat="server" Text='<%#Eval("userlevel")%>'></asp:Label></td>