<html>
<head>
<title>FormView with Default Paging</title>
<link rel="stylesheet" href="/shared/netdemos.css">
</head>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>FormView with Default Paging</h2></div>
<hr size=1 width=92%>
<form runat="server">
<div align="center">
<asp:formview id="productSpecs" runat="server"
datasourceid="products"
width=90% cellpadding=5
allowpaging>
<itemtemplate>
<table>
<tr>
<td><img width=220 alt='<%# Eval ( "model" ) %>'
src='/shared/images/gear/<%# Eval ( "productid" ) %>.jpg'></td>
<td>
<table>
<col valign="top">
<col valign="top">
<tr>
<td align=right><b>Brand:</b></td>
<td><asp:label runat="server"
text='<%# Eval ( "Brand" ) %>' /></td>
</tr>
<tr>
<td align=right><b>Model:</b></td>
<td><asp:label runat="server"
text='<%# Eval ( "Model" ) %>' /></td>
</tr>
<tr>
<td align=right><b>Type:</b></td>
<td><asp:label runat="server"
text='<%# Eval ( "Type" ) %>' /></td>
</tr>
<tr>
<td align=right><b>Description:</b></td>
<td><asp:label runat="server"
text='<%# Eval ( "Description" ) %>' /></td>
</tr>
<tr>
<td align=right><b>Price:</b></td>
<td><asp:label runat="server"
text='<%# Eval ( "Price", "{0:c}" ) %>' /></td>
</tr>
</table>
</td>
</tr>
</table>
</itemtemplate>
</asp:formview>
<asp:accessdatasource id="products"
datafile="~/app_data/gear.mdb"
selectcommand="SELECT * FROM products"
runat="server" />
</div>
</form>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>