public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.testTable = ah.AggregateTable; this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.testTable, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }
public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.testTable = ah.AggregateTable; this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.testTable, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }
public void CreateExportlist() { collection = new Collection<ExportText>(); collection.Add(new ExportText() { Text = String.Empty }); helper = new AggregateFuctionHelper(); aggregateCollection = helper.AggregateCollection; dataSource = new CollectionDataSource(aggregateCollection,new ReportSettings()); dataSource.Bind(); visitor = new ExpressionVisitor(new ReportSettings()); visitor.SetCurrentDataSource(dataSource.SortedList); }
public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.testTable = ah.AggregateTable; foreach (DataRow r in this.testTable.Rows) { this.intResult = this.intResult + Convert.ToInt16(r["IntValue"]); this.doubleResult = this.doubleResult + Convert.ToDouble(r["Amount"]); } this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.testTable, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }
public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.aggregateCollection = ah.AggregateCollection; foreach (Aggregate r in this.aggregateCollection) { this.intResult = this.intResult + r.IntValue; this.doubleResult = this.doubleResult + r.Amount; } this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.aggregateCollection, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }
public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.testTable = ah.AggregateTable; foreach (DataRow r in this.testTable.Rows) { this.intResult = this.intResult + Convert.ToInt16(r["IntValue"]); this.doubleResult = this.doubleResult + Convert.ToDouble(r["Amount"]); } this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.testTable, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }
public void Init() { this.singlePage = TestHelper.CreateSinglePage(); this.evaluator = new ExpressionEvaluatorFacade(this.singlePage); AggregateFuctionHelper ah = new AggregateFuctionHelper(); this.aggregateCollection = ah.AggregateCollection; foreach (Aggregate r in this.aggregateCollection) { this.intResult = this.intResult + r.IntValue; this.doubleResult = this.doubleResult + r.Amount; } this.dataManager = ICSharpCode.Reports.Core.DataManager.CreateInstance(this.aggregateCollection, new ReportSettings()); this.singlePage.IDataNavigator = this.dataManager.GetNavigator; }