Click here to Skip to main content
15,892,746 members
Articles / Web Development / ASP.NET

An Introduction to a Post-relational Database for .NET: Matisse - Part 6

Rate me:
Please Sign up or sign in to vote.
4.45/5 (21 votes)
2 May 20043 min read 65.9K   966   37  
ASP.NET programming with a post-relational database.
<%@ Page language="c#" Codebehind="PhotoListForm.aspx.cs" AutoEventWireup="false" Inherits="MediaDemoASP.MovieListForm" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>MovieListForm</title>
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
        <meta content="C#" name="CODE_LANGUAGE">
        <meta content="JavaScript" name="vs_defaultClientScript">
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
        <form id="Form1" method="post" runat="server">
            <asp:linkbutton id="NextButton" style="Z-INDEX: 101; LEFT: 423px; POSITION: absolute; TOP: 31px"
                runat="server">Next >></asp:linkbutton><asp:datalist id="DataList1" style="Z-INDEX: 102; LEFT: 26px; POSITION: absolute; TOP: 56px" runat="server"
                Width="109" Height="114" RepeatColumns="1">
                <ItemTemplate>
                    <TABLE id="Table1" height="100" cellSpacing="0" cellPadding="0" width="450" border="5">
                        <TR>
                            <TD></TD>
                            <TD>
                                <P>
                                    <asp:Image id=ThumbImage Width="116" Height="158" Runat="server" ImageUrl='<%# PhotoThumbnailURL((string) DataBinder.Eval(Container.DataItem, "OID")) %>'>
                                    </asp:Image></P>
                            </TD>
                            <TD>
                                <P><FONT face="Verdana" size="2"><STRONG>Title:&nbsp;</STRONG></FONT><%# DataBinder.Eval(Container.DataItem, "Title") %></P>
                                <P><FONT face="Verdana" size="2"><STRONG>Description:&nbsp;</STRONG></FONT><%# DataBinder.Eval(Container.DataItem, "Description") %></P>
                                <P><A href='<%# PhotoScreenshotURL((string) DataBinder.Eval(Container.DataItem, "OID")) %>'>View 
                                        Screenshot</A></P>
                            </TD>
                        </TR>
                    </TABLE>
                </ItemTemplate>
            </asp:datalist>
            <DIV style="DISPLAY: inline; Z-INDEX: 103; LEFT: 27px; WIDTH: 235px; POSITION: absolute; TOP: 10px; HEIGHT: 39px"
                ms_positioning="FlowLayout"><FONT face="Verdana" size="5"><STRONG>Retrieved Photos</STRONG></FONT></DIV>
        </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.


Written By
Web Developer
United States United States
John is a software consultant and currently working for a large .NET project. He has an extensive experience in object-oriented technologies for more than 15 years ranging from Smalltalk, C++, Java, .NET to databases.

Comments and Discussions