Odd-Even Rows.frx 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates the &quot;Even rows&quot; feature. To use it:&#13;&#10;- go to the &quot;Report|Styles...&quot; menu;&#13;&#10;- create a new style, name it &quot;EvenRows&quot;;&#13;&#10;- select the fill color for this style;&#13;&#10;- return to the report page, select the data band;&#13;&#10;- go to the &quot;Properties&quot; window, choose the &quot;EvenStyle&quot; property and set it to &quot;EvenRows&quot;." ReportInfo.Created="01/18/2008 00:33:09" ReportInfo.Modified="03/28/2023 16:29:37" ReportInfo.CreatorVersion="1.0.0.0">
  3. <Styles>
  4. <Style Name="EvenRows" Fill.Color="OldLace" Font="Arial, 10pt"/>
  5. </Styles>
  6. <Dictionary>
  7. <TableDataSource Name="Customers" ReferenceName="NorthWind.Customers" DataType="System.Int32" Enabled="true">
  8. <Column Name="CustomerID" DataType="System.String"/>
  9. <Column Name="CompanyName" DataType="System.String"/>
  10. <Column Name="ContactName" DataType="System.String"/>
  11. <Column Name="ContactTitle" DataType="System.String"/>
  12. <Column Name="Address" DataType="System.String"/>
  13. <Column Name="City" DataType="System.String"/>
  14. <Column Name="Region" DataType="System.String"/>
  15. <Column Name="PostalCode" DataType="System.String"/>
  16. <Column Name="Country" DataType="System.String"/>
  17. <Column Name="Phone" DataType="System.String"/>
  18. <Column Name="Fax" DataType="System.String"/>
  19. </TableDataSource>
  20. </Dictionary>
  21. <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
  22. <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8" CanGrow="true">
  23. <TextObject Name="Text9" Width="718.2" Height="37.8" Text="CUSTOMER LIST" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
  24. </ReportTitleBand>
  25. <PageHeaderBand Name="PageHeader1" Top="39.8" Width="718.2" Height="28.35">
  26. <TextObject Name="Text2" Width="245.7" Height="28.35" Fill="Glass" Fill.Color="Peru" Fill.Blend="0.16" Fill.Hatch="true" Text="CompanyName" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold" TextFill.Color="White"/>
  27. <TextObject Name="Text4" Left="245.7" Width="132.3" Height="28.35" Fill="Glass" Fill.Color="Peru" Fill.Blend="0.16" Fill.Hatch="true" Text="Country" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold" TextFill.Color="White"/>
  28. <TextObject Name="Text6" Left="378" Width="122.85" Height="28.35" Fill="Glass" Fill.Color="Peru" Fill.Blend="0.16" Fill.Hatch="true" Text="Phone" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold" TextFill.Color="White"/>
  29. <TextObject Name="Text8" Left="500.85" Width="217.35" Height="28.35" Fill="Glass" Fill.Color="Peru" Fill.Blend="0.16" Fill.Hatch="true" Text="Fax" VertAlign="Center" Font="Segoe UI, 9pt, style=Bold" TextFill.Color="White"/>
  30. </PageHeaderBand>
  31. <DataBand Name="Data1" Top="70.15" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Customers">
  32. <TextObject Name="Text1" Width="245.7" Height="18.9" Text="[Customers.CompanyName]" VertAlign="Center" Font="Segoe UI, 9pt"/>
  33. <TextObject Name="Text3" Left="245.7" Width="132.3" Height="18.9" Text="[Customers.Country]" VertAlign="Center" Font="Segoe UI, 9pt"/>
  34. <TextObject Name="Text5" Left="378" Width="122.85" Height="18.9" Text="[Customers.Phone]" VertAlign="Center" Font="Segoe UI, 9pt"/>
  35. <TextObject Name="Text7" Left="500.85" Width="217.35" Height="18.9" Text="[Customers.Fax]" VertAlign="Center" Font="Segoe UI, 9pt"/>
  36. </DataBand>
  37. <PageFooterBand Name="PageFooter1" Top="91.05" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  38. <TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt"/>
  39. <TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
  40. </PageFooterBand>
  41. </ReportPage>
  42. </Report>