Text Report

Description:    The text report displays a list of Employees, their address information, and their personal history notes.

Overview:    The text report demonstrates using the Repeater control for listing out repetitive data, such as textual data.


Implementation Notes:    

The Repeater's data source is a TextReportCollection returned from the GetEmployees function.  The Repeater then uses the collection values to render the appropriate information for the report.  As with the DataList and DataGrid, the repeater control has a Header Template, a Footer Template, and an Item Template.  

		
	<asp:repeater id="EmployeesList" runat="server">
		<headertemplate></headertemplate>
		<footertemplate></footertemplate>
		<itemtemplate></itemtemplate>

In addition, this control also has an Alternating Item Template to distinguish one row from the next, and a Separator Template to define data or a style, such as a separating line which will appear in between each data item.  An example of how this can be used is in the picture below (not shown in live sample):

		
	 	<alternatingitemtemplate></alternatingitemtemplate>
		<separatortemplate></separatortemplate>