温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:某大学211工程办公室网站源码(生成静态页)
当前文件:
211HtmNewsAccess/AdminArticleList.aspx[2K,2009-6-12 11:30:48],打开代码结构图
211HtmNewsAccess/AdminArticleList.aspx[2K,2009-6-12 11:30:48],打开代码结构图1<%@ Page language="c#" Codebehind="AdminArticleList.aspx.cs" AutoEventWireup="True" Inherits="_211.AdminArticleList" %> 2
<HTML> 3
<HEAD> 4
<title>soft</title> 5
<style>.myheight { HEIGHT: 30px } 6
</style> 7
<LINK href="AdminCss.css" type="text/css" rel="stylesheet"> 8
</HEAD> 9
<body> 10
<table cellSpacing="0" cellPadding="0" width="700" border="0"> 11
<tr> 12
<td> 13
<form id="f1" runat="server"> 14
<table> 15
<tr> 16
<td><asp:datagrid id="art" runat="server" AutoGenerateColumns="False" DataKeyField="ArticleId" GridLines="Horizontal" 17
BorderColor="Highlight"> 18
<AlternatingItemStyle BackColor="#EEEEEE"></AlternatingItemStyle> 19
<HeaderStyle HorizontalAlign="Left" Height="30px" ForeColor="White" VerticalAlign="Middle" BackColor="Highlight"></HeaderStyle> 20
<Columns> 21
<asp:HyperLinkColumn DataNavigateUrlField="ArticleId" DataNavigateUrlFormatString="AdminArticleEdit.aspx?ArticleId={0}" 22
DataTextField="ArticleTitle" HeaderText="名称"> 23
<HeaderStyle Width="500px"></HeaderStyle> 24
</asp:HyperLinkColumn> 25
<asp:BoundColumn DataField="ItemName" HeaderText="所属分类"> 26
<HeaderStyle Width="150px"></HeaderStyle> 27
</asp:BoundColumn> 28
<asp:TemplateColumn> 29
<HeaderStyle Width="100px"></HeaderStyle> 30
<ItemStyle HorizontalAlign="Center"></ItemStyle> 31
<ItemTemplate> 32
<FONT face="宋体"> 33
<asp:CheckBox id="CheckBox1" runat="server" Text="删除"></asp:CheckBox></FONT> 34
</ItemTemplate> 35
</asp:TemplateColumn> 36
</Columns> 37
</asp:datagrid></td> 38
</tr> 39
<tr> 40
<td align="right" height="40"> 41
栏目选择: 42
<asp:dropdownlist id="c" runat="server" AutoPostBack="True" onselectedindexchanged="c_SelectedIndexChanged"></asp:dropdownlist> 43
转到第 44
<asp:dropdownlist id="p" runat="server" AutoPostBack="True" onselectedindexchanged="p_SelectedIndexChanged"></asp:dropdownlist>页 45
<asp:button id="Button1" runat="server" Text="删除选定" onclick="Button1_Click"></asp:button></td> 46
</tr> 47
</table> 48
</form> 49
</td> 50
</tr> 51
</table> 52
</body> 53
</HTML> 54





