rdlc,接口,外部数据源,数据集,从代码选择数据源。
using System;
using System.Collections.Generic;
namespace Company.Suo.DataSetInterface
{
public class ReportData
{
/// <summary>
/// 提供 AAA 报表设计数据源。
/// </summary>
public IEnumerable<QPoModel> GetAAAReportDataSet()
{
throw new NotImplementedException("以方法签名为报表数据集提供设计接口,不用于具体实现。");
}
/// <summary>
/// 提供 MMM 报表设计数据源。
/// </summary>
public IEnumerable<QPoInformModel> GetMMMReportDataSet()
{
throw new NotImplementedException("以方法签名为报表数据集提供设计接口,不用于具体实现。");
}
/// <summary>
/// 提供 XXX 报表设计数据源。
/// </summary>
public IEnumerable<QPoInformModel> GetXXXReportDataSet()
{
throw new NotImplementedException("以方法签名为报表数据集提供设计接口,不用于具体实现。");
}
}
}