/// 创建人:LiuChengYi ///创建时间:2014/4/16 ///创建用途:用作构建Rdlc数据源 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace Models { public class ReportModel { //报表值 private string num; public string Num { get { return num; } set { num = value; } } //报表类别 private string category; public string Category { get { return category; } set { category = value; } } //报表序列 private string sequence; public string Sequence { get { return sequence; } set { sequence = value; } } //public DataTable EntityTable() //{ // DataTable dt = new DataTable("ReportDataSet"); // DataColumn num = new DataColumn("Num",typeof(String)); // DataColumn category = new DataColumn("Category", typeof(String)); // DataColumn sequence = new DataColumn("Sequence", typeof(String)); // dt.Columns.Add(num); // dt.Columns.Add(category); // dt.Columns.Add(sequence); // return dt; //} } }