|
<%@ Page language="c#" Codebehind="simplereport.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Reports.Simple" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Simple Report</title>
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="<%= _styleSheet %>" type=text/css rel=stylesheet>
<script src="scripts.js"></script>
</HEAD>
<body class="Report" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
<form id="Simple" method="post" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr height="20">
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="4"><img src="images/spacer.gif" width="50" height="20"></td>
</tr>
<tr>
<td width="20"></td>
<td class="ReportTitle">Customer Contacts</td>
<td align="right">
<asp:LinkButton id="PagingButton" runat="server" cssclass="printbutton" Visible="False">Disable Paging</asp:LinkButton>
<asp:hyperlink id="PrintButton" navigateurl="javascript:Print()" cssclass="printbutton" runat="server" visible="False">Print</asp:hyperlink></td>
<td width="20"></td>
</tr>
<tr>
<td colspan="4"><img src="images/spacer.gif" width="20" height="20"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="20"></td>
<td>
<asp:datagrid id="CustomerGrid" AlternatingItemStyle-CssClass="Content" runat="server" AutoGenerateColumns="False" BorderWidth="0" GridLines="None" Width="100%" AllowSorting="True" PageSize="20" CellPadding="5" AllowPaging="True">
<AlternatingItemStyle CssClass="Content"></AlternatingItemStyle>
<Columns>
<asp:BoundColumn DataField="CompanyName" SortExpression="CompanyName" HeaderText="Company">
<HeaderStyle CssClass="CategoryHeader"></HeaderStyle>
<ItemStyle CssClass="ItemStyle"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="ContactName" SortExpression="ContactName" HeaderText="Contact">
<HeaderStyle CssClass="CategoryHeader"></HeaderStyle>
<ItemStyle CssClass="ItemStyle"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="ContactTitle" SortExpression="ContactTitle" HeaderText="Title">
<HeaderStyle CssClass="CategoryHeader"></HeaderStyle>
<ItemStyle CssClass="ItemStyle"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Phone" SortExpression="Phone" HeaderText="Telephone">
<HeaderStyle CssClass="CategoryHeader"></HeaderStyle>
<ItemStyle CssClass="ItemStyle"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="City" SortExpression="City" HeaderText="City">
<HeaderStyle CssClass="CategoryHeader"></HeaderStyle>
<ItemStyle CssClass="ItemStyle"></ItemStyle>
</asp:BoundColumn>
</Columns>
</asp:datagrid>
</td>
<td width="20"></td>
</tr>
</table>
</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 article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.