<html>
<head>
<title>Title Details Page</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<body style="margin:0">
<!-- #include file="books_header.inc" -->
<div align="center">
<form runat="server">
<asp:formview id="titleDetails" runat="server"
datasourceid="titleData"
width=60%
enableviewstate=false>
<itemtemplate>
<div class="header">
<h3 style="color:maroon"><%# Eval ( "title" ) %></h2>
</div>
<table cellpadding=10>
<tr>
<td valign="top">
<img align="top" runat="server"
src='<%# Eval ( "title_id", "~/shared/images/title-{0}.gif" ) %>'>
</td>
<td valign="top">
<p><%# Eval ( "notes" ) %></p>
<p>
<b>Category:</b> <%# Eval ( "type" ) %><br>
<b>Publisher ID:</b> <%# Eval ( "pub_id" ) %><br>
<b>Price:</b> <%# Eval ( "price", "{0:c}" ) %>
</p>
</td></tr>
</table><br>
</itemtemplate>
</asp:formview>
<asp:sqldatasource id="titleData" runat="server"
selectcommand="SELECT * FROM Titles WHERE title_id=@titleid"
datasourcemode="datareader"
connectionstring="<%$ ConnectionStrings:aspnet %>">
<selectparameters>
<asp:querystringparameter name="titleid" querystringfield="titleid" />
</selectparameters>
</asp:sqldatasource>
</form>
</div>
<hr size=1 width=92%>
<div class="small"><a onMouseOver="status='Back to List';return true" href="javascript:history.go ( -1 )">Back to List</a></div>
<br>
</body>
</html>