您目前尚未登陆,请选择【登陆】或【注册
首页->博客论坛->WO@BIZ第一季1.2版源码>>admin/Notice.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:WO@BIZ第一季1.2版源码
当前文件:文件类型 WOBIZ/admin/Notice.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Notice.aspx.cs" Inherits="admin_Notice" %> 2 3<%@ Register TagPrefix="cc1" Namespace="WoNextDll.commen.PageInfo" Assembly="WoNextDll" %> 4 5<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6 7<html xmlns="http://www.w3.org/1999/xhtml" > 8<head runat="server"> 9 <title>公告管理</title> 10 <link href="Css/admin.css" rel="stylesheet" type="text/css" /> 11</head> 12<body> 13 <form id="form1" runat="server"> 14 <div> 15 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 16 <tr> 17 <td width="10"><img src="Images/z-top_left.gif" width="10" height="33"></td> 18 <td valign="bottom" background="Images/z-center_center.gif"><table width="100" border="0" cellspacing="0" cellpadding="0"> 19 <tr> 20 <td width="3"><img src="Images/left1.gif" width="3" height="29"></td> 21 <td background="Images/center1.gif"><div align="center"><strong>基本设置</strong></div></td> 22 <td width="3"><img src="Images/right1.gif" width="3" height="29"></td> 23 </tr> 24 </table></td> 25 <td width="5"><img src="Images/z-top_right.gif" width="13" height="33"></td> 26 </tr> 27 <tr> 28 <td background="Images/z-center_left.gif">&nbsp;</td> 29 <td height="470" valign="top" bgcolor="#FFFFFF"><DIV id=incontent-post> 30 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 31 <tr> 32 <td class="postbg">当前位置:公告管理<asp:Label ID="Label1" runat="server" Visible="False"></asp:Label></td> 33 </tr> 34 <tr> 35 <td width="120" height="30"> 36 <asp:Button ID="Button1" runat="server" CssClass="button" OnClick="Button1_Click" 37 Text="添加新公告" /></td> 38 </tr> 39 <tr> 40 <td>&nbsp;</td> 41 </tr> 42 </table> 43 <table width="100%" border="0" cellspacing="0" cellpadding="0"> 44 45 <tr><td align="center"><asp:GridView ID="Dlist" runat="server" Width="100%" AutoGenerateColumns="False" DataKeyNames="id" OnRowDataBound="Dlist_RowDataBound" OnRowCommand="Dlist_RowCommand"> 46 <Columns> 47 <asp:BoundField DataField="id" HeaderText="编号" > 48 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" /> 49 </asp:BoundField> 50 <asp:BoundField DataField="title" HeaderText="标题" > 51 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="45%" /> 52 </asp:BoundField> 53 <asp:BoundField DataField="orderid" HeaderText="排序" /> 54 <asp:BoundField DataField="starttime" HeaderText="开始时间" DataFormatString="{0:D}" HtmlEncode="False" > 55 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="15%" /> 56 </asp:BoundField> 57 <asp:BoundField DataField="endtime" HeaderText="结束时间" DataFormatString="{0:D}" HtmlEncode="False" > 58 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="15%" /> 59 </asp:BoundField> 60 <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="AddNote.aspx?id={0}&amp;flag=Edit" HeaderText="修改" 61 Text="修改" > 62 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px" /> 63 </asp:HyperLinkField> 64 <asp:ButtonField HeaderText="删除" CommandName="listdelete" 65 Text="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗?')&quot;&gt;&lt;image src='images/delIcon.gif' border=0 alt=&quot;删除&quot;/&gt;&lt;/div&gt;" > 66 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" /> 67 </asp:ButtonField> 68 </Columns> 69 </asp:GridView></td></tr> 70 <tr><td align="left"><br /><cc1:jpage id="Jpage1" runat="server" borderstyle="Dashed" jpagesize="10" width="100%" Jcachetime="0"></cc1:jpage></td></tr> 71 </table> 72 </DIV></td> 73 <td background="Images/z-center_right.gif">&nbsp;</td> 74 </tr> 75</table> 76 </div> 77 </form> 78</body> 79</html> 80
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:WO@BIZ第一季1.2版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号