|
<%@ Register TagPrefix="Localized" Namespace="Localization" Assembly="Localization" %>
<%@ Page language="vb" Codebehind="BindingSample.aspx.vb" AutoEventWireup="false" Inherits="LocalizedSampleVB.BindingSample" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>BindingSample</title>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:Repeater ID="repeater" Runat="server">
<ItemTemplate>
<Localized:LocalizedLiteral id="Literal1" key="LoginAudit" runat="server">
<Localized:Parameter runat="Server" Key="Username" value='<%# DataBinder.Eval(Container.DataItem, "UserName")%>' />
<Localized:Parameter runat="Server" Key="Name" value='<%# DataBinder.Eval(Container.DataItem, "Name")%>'/>
<Localized:Parameter runat="Server" key="Date" value='<%# DataBinder.Eval(Container.DataItem, "lastLogin")%>' />
</Localized:LocalizedLiteral>
<br /><br />
</ItemTemplate>
</asp:Repeater>
</form>
</body>
</HTML>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.