|
<%@ Page Language="VB" AutoEventWireup="false" MasterPageFile="~/MasterPage.master" CodeFile="Default.aspx.vb" Title="Home" Inherits="_Default" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<a href="Create.aspx">Create a New Entry</a>,
<input type="text" id="q" runat="server" onkeypress="if(window.event.keyCode==13){ document.getElementById('s').onclick(); return false }" />
<button id="s" onclick="location='?q='+document.getElementById('<%=q.clientid %>').value">Search</button><br />
<asp:ListView runat="server" id="Posts">
<LayoutTemplate>
<table>
<asp:placeholder runat="server" id="itemPlaceholder" />
</table>
</LayoutTemplate>
<ItemTemplate>
<tr runat="server" id="itemTemplate">
<td><a href="Create.aspx?id=<%#Eval("ID")%>">Edit</a> <a href="?Delete=<%#Eval("ID")%>">Delete</a> </td>
<td><a href="View.aspx?id=<%#Eval("ID")%>"><%#Eval("Title")%></a></td>
<td><%#Eval("DateUpdated")%></td>
</tr>
</ItemTemplate>
</asp:ListView>
</asp:Content>
|
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.