?? userlist.aspx
字號:
<%@ Page language="c#" Codebehind="UserList.aspx.cs" AutoEventWireup="false" Inherits="_lib.CMS.UserList" %>
<%@ Register TagPrefix="zMenu" TagName="leftmenu" Src="leftmenu.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>UserList</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<LINK href="/style.css" type="text/css" rel="stylesheet">
</HEAD>
<body bgColor="#e6e7e8" leftMargin="0" topMargin="0" MS_POSITIONING="GridLayout" marginheight="0"
marginwidth="0">
<form language="javascript" id="MainForm" onsubmit="return MainForm_onsubmit(this)" method="post"
runat="server">
<table cellSpacing="0" cellPadding="0" width="778" align="center" bgColor="#ffffff" border="0">
<tr>
<td colSpan="2">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td><IMG src="images/top_1.jpg" border="0"></td>
<td><IMG src="images/top_2.jpg" border="0"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td vAlign="top" bgColor="#cceeff">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td align="left" background="images/bgimg.gif" width="180" height="3"></td>
</tr>
<tr>
<td>
<zMenu:leftmenu runat="server" id="Leftmenu1" src="menu.xml" column="User" />
</td>
</tr>
</table>
</td>
<td vAlign="top">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td background="images/bgimg.gif" width="598" height="3"></td>
</tr>
<tr>
<td>
<table cellSpacing="0" cellPadding="18" align="center" border="0">
<tr>
<td>
<p>
<table cellSpacing="0" cellPadding="1" width="100%" border="0">
<tr>
<td vAlign="top" align="left">
<P><FONT face="宋體"><asp:datagrid id="DataList" runat="server" AutoGenerateColumns="False" BorderStyle="None" CellPadding="4"
BorderWidth="1px" BackColor="White" BorderColor="#E6E7E8" Width="542px" Height="0px" AllowPaging="True"
Font-Size="12px" Font-Names="Arial">
<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
<AlternatingItemStyle HorizontalAlign="Center" ForeColor="Black" BackColor="#EBF8FE"></AlternatingItemStyle>
<ItemStyle HorizontalAlign="Center" ForeColor="Black" BackColor="White"></ItemStyle>
<HeaderStyle Font-Size="12px" Font-Names="Arial" Font-Bold="True" HorizontalAlign="Center" ForeColor="White"
BackColor="#FF9900"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="user_name" HeaderText="用戶名"></asp:BoundColumn>
<asp:BoundColumn DataField="user_realname" HeaderText="用戶姓名"></asp:BoundColumn>
<asp:BoundColumn DataField="user_time" HeaderText="建立時間" DataFormatString="{0:yyyy.M.d HH:mm}"></asp:BoundColumn>
<asp:TemplateColumn>
<HeaderTemplate>
<FONT face="宋體"></FONT>
</HeaderTemplate>
<ItemTemplate>
<FONT face="宋體"> </FONT>
<asp:LinkButton id=btnModify runat="server" Text="Modify" CommandArgument='<%# ((System.Data.DataRowView)Container.DataItem)["user_id"] %>' CommandName="Modify">
<img border="0" src="images/button_modify.gif"></asp:LinkButton>
<asp:LinkButton id=btnDelete runat="server" Text="Delete" CommandArgument='<%# ((System.Data.DataRowView)Container.DataItem)["user_id"] %>' CommandName="Delete">
<img border="0" src="images/button_delete.gif" onClick="javascript:{return confirm('刪除操作不可恢復,確認嗎?');}"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Font-Size="12px" Font-Names="Arial" HorizontalAlign="Left" ForeColor="Blue" BackColor="White"
Mode="NumericPages"></PagerStyle>
</asp:datagrid></FONT></P>
<P></P>
</td>
<td vAlign="top" align="right">
</td>
</tr>
</table>
</p>
<asp:LinkButton id="btnNew" runat="server" Text="New"><img border="0" src="images/button_new.gif"></asp:LinkButton></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgColor="#e6e7e8" colSpan="2"><IMG height="1" src="images/s.gif" width="778" border="0"></td>
</tr>
</table>
<!-- #include virtual="/foot.inc" --></form>
</body>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -