<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="10/21/2016 17:26:38" ReportInfo.Modified="02/07/2017 15:25:07" ReportInfo.CreatorVersion="2016.1.0.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {

    private void Table1_ManualBuild(object sender, EventArgs e)
    {
      DataSourceBase data1 = Report.GetDataSource(&quot;Table2&quot;); // 获取DataSet中表名为Detail的数据源
 
      data1.Init(); // 初始化         
//      Table1.PrintRow(0); // 控件Table1打印第0行
// 
//      Table1.PrintColumns(); // 每打印一行，都要调用 PrintColumn或PrintColumns
          
     
 
      while(data1.HasMoreRows) // 打印重复循环的行
 
      {
 
        Table1.PrintRow(0);                                                
 
        Table1.PrintColumns();
 
        data1.Next(); // 读取下一行
 
      }
    }
  }
}
</ScriptText>
  <Dictionary/>
  <ReportPage Name="Page1">
    <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="56.7">
      <TextObject Name="Txt_title" Left="37.8" Top="9.45" Width="614.25" Height="37.8" Text="销售管理" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt, style=Bold"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="60.7" Width="718.2" Height="122.85">
      <TextObject Name="Txt_auditor" Left="18.9" Top="9.45" Width="198.45" Height="56.7"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="187.55" Width="718.2" Height="47.25"/>
    <PageFooterBand Name="PageFooter1" Top="238.8" Width="718.2" Height="167.75">
      <TextObject Name="Txt_totalPages" Left="340.2" Top="141.75" Width="359.1" Height="18.9" Text="第[Page#]页 共[TotalPages#]页 打印日期：[Date]" HorzAlign="Right" VertAlign="Center"/>
      <TextObject Name="Txt_total" Left="18" Top="141.75" Width="179.55" Height="16.55" Text="总价：7950        " VertAlign="Center"/>
    </PageFooterBand>
  </ReportPage>
</Report>
