Listing 1: The sample program

XML Code
<?xml version="1.0" encoding="utf-8" ?> 
<Books> 
<BookItem> 
<Title>TY C# in 21 days</Title>
<Author>Bradley L. Jones</Author>
<Publisher>Sams</Publisher>
</BookItem>
<BookItem> 
<Title>Visual Basic .NET Step by Step</Title>
<Author>M.Halovorson</Author>
<Publisher>Microsoft Press</Publisher>
</BookItem>
<BookItem> 
<Title>C# and .NET Platform</Title>
<Author>Andrew Trolesen</Author>
<Publisher>Apress</Publisher>
</BookItem>
</Books>

WebForm??? Code
<cyberakt:ContentRotator id="ContentRotator1" 
style="Z-INDEX: 101; LEFT: 56px; POSITION: absolute; 
TOP: 56px" runat="server" XmlContentFile="Books.xml" 
Width="800px" Height="96px">

<SlideTemplate>
<table width="370" height="80" cellspacing="2">
<tr>

<td>
<%# DataBinder.Eval(Container.DataItem, "Title") %>
</td>

<td>
<%# DataBinder.Eval(Container.DataItem, "Author") %>
</td>

<td>
<%# DataBinder.Eval(Container.DataItem, "Publisher") %>
</td>
</table>
</SlideTemplate>
</cyberakt:ContentRotator>