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---------------------