events.ascx

来自「三层架构的.net源码三层架构的.net源码」· ASCX 代码 · 共 21 行

ASCX
21
字号
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Events.ascx.cs" Inherits="MyStarterKit.Portal.Web.Events" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%@ Register TagPrefix="Portal" TagName="Title" Src="~/DesktopModuleTitle.ascx"%>
<!--显示事件信息-->
<portal:title EditText="添加新事件" EditUrl="~/DesktopModules/EditEvents.aspx" runat="server"	id="Title1" />
<asp:DataList id="myDataList" CellPadding="4" Width="98%" EnableViewState="false" runat="server">
	<ItemTemplate>
		<SPAN class="ItemTitle">
			<asp:HyperLink id="editLink" runat="server" Visible="<%# IsEditable %>" NavigateUrl='<%# "~/DesktopModules/EditEvents.aspx?ItemID=" + DataBinder.Eval(Container.DataItem,"ItemID") + "&amp;mid=" + ModuleId %>' ImageUrl="~/images/edit.gif">
			</asp:HyperLink>
			<asp:Label id="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Title") %>'>
			</asp:Label>
		</SPAN><BR>
		<SPAN class="Normal">
			<I><%# DataBinder.Eval(Container.DataItem,"WhereWhen") %></I>
		</SPAN><BR>
		<SPAN class="Normal">
			<%# DataBinder.Eval(Container.DataItem,"Description") %>
		</SPAN><BR>
	</ItemTemplate>
</asp:DataList>

⌨️ 快捷键说明

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