Chinaunix首页 | 论坛 | 博客
  • 博客访问: 378759
  • 博文数量: 715
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 5005
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:46
文章分类

全部博文(715)

文章存档

2011年(1)

2008年(714)

我的朋友

分类:

2008-10-13 16:37:06

gzstyxb:请问 ReportViewer 是什么呀?
(发表于2006-12-11 17:19:00)

caeser2:ReportViewer 是 RDLC 文件的“浏览器”,是.net工具箱中的一个控件
(发表于2006-12-12 9:06:00)

donk:Dear sir:
修改為C#
myDataRow取出為空值...可以指導一下嗎?

DataSet myDataSet_dynamic = new DataSet();
myDataSet_dynamic.ReadXml("DataSet2.xsd");

BindingSource myBindingSource = new BindingSource();
ReportDataSource myReportDataSource = new ReportDataSource();

myBindingSource.DataMember = "this.DataSet2.DataTable1.TableName";
myBindingSource.DataSource = DataSet2;

myReportDataSource.Name = "this.DataSet2.DataTable1.TableName";
myReportDataSource.Value = myBindingSource;

reportViewer1.LocalReport.DataSources.Add(myReportDataSource);
reportViewer1.LocalReport.ReportPath = "Report1.rdlc";

DataRow myDataRow = myDataSet_dynamic.Tables[0].NewRow();

for (i=0;i<3;i++)
    comboBox1.Items.Add(myDataRow[i]);

this.dataTable1TableAdapter.Fill(this.DataSet2.DataTable1);

this.reportViewer1.RefreshReport();
this.reportViewer1.LocalReport.Refresh();
(发表于2007-2-13 16:12:00)

wanlen:楼主真有心,Reporting Service都用上了,不过个人认为,MS的Reporting Service还真的要比水晶报表有优势
(发表于2007-9-24 17:58:00)

..........................................................................
--------------------next---------------------

阅读(77) | 评论(0) | 转发(0) |
0

上一篇:VC知识库>>文档中心

下一篇:测试自动化

给主人留下些什么吧!~~