From 7e2fe2c04eca63ed0da3559fc29239c7e2220cfa Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 06 三月 2025 17:53:21 +0800 Subject: [PATCH] 修改使用登录静态类 --- Component/HStation.ReportFile.SDK.Core/03-test/XtraReport1.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Component/HStation.ReportFile.SDK.Core/03-test/XtraReport1.cs b/Component/HStation.ReportFile.SDK.Core/03-test/XtraReport1.cs index 40ee773..52e08dd 100644 --- a/Component/HStation.ReportFile.SDK.Core/03-test/XtraReport1.cs +++ b/Component/HStation.ReportFile.SDK.Core/03-test/XtraReport1.cs @@ -19,8 +19,12 @@ { // 鑾峰彇鏁版嵁婧� List<Product> dataSource = CreateSampleProductList(); - // this.xrTable1.DataBindings.Add("Text", dataSource, "Price"); this.DataSource = dataSource; + + // this.xrTable1.DataBindings.Add("Text", dataSource, "Price"); + // this.DataSource = dataSource; + this.xrTable2.DataBindings.Add("Text", dataSource, "Price"); + this.xrTable2.DataBindings.Add("Text", dataSource, "ProductName"); // 璁剧疆鎶ヨ〃鐨勬暟鎹簮 // this.DataSource = dataSource; -- Gitblit v1.9.3