c# winform中rdlc钻取 不显示! 急急!!!!! 用rdlc做了个钻取,能够给report表绑定数据源,但是在界面上显示不到数据,试问该如何解决呢!? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void reportViewer1_Drillthrough(object sender, Microsoft.Reporting.WinForms.DrillthroughEventArgs e) { Microsoft.Reporting.WinForms.LocalReport report = e.Report as Microsoft.Reporting.WinForms.LocalReport; string procedurelistid = report.GetParameters()["ProcedureId"].Values[0].Trim(); string sequenceId = report.GetParameters()["Sequenceid"].Values[0].Trim(); DataRow[] rows = this.employeeDt.Select("procedurelistid= '" + procedurelistid + "' and sequenceId=" + sequenceId); this.prDs.EmployeeInfo.Clear(); foreach(DataRow row in rows) { this.prDs.EmployeeInfo.ImportRow(row); } report.DataSources.Clear(); report.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("ProductControlReportDataSet_EmployeeInfo", this.prDs.EmployeeInfo)); } 表employeeInfo中有数据,但是最后出来的报表显示不出数据!?!?! 在winCE中长按等于右键弹出菜单怎么实现c#,求大侠帮助 WebHttpRequest获取网页内容,如何保存Cookie?(js脚本生成的cookie) 问题啊问题,我真的是什么都不懂- -! int a = 1和 int b= new int ()有什区别 vs2005 一个奇怪的问题 c# update webservice问题,急!!!! 请问怎么获取指定应用程序的安装路径。 关于界面之间传值的问题 一个简单问题把我难倒了,怎样对TextBox用Ctrl A实现全选? 如何知道某个程序下在启动? C#阶乘编程,Welcome U!
{ Microsoft.Reporting.WinForms.LocalReport report = e.Report as Microsoft.Reporting.WinForms.LocalReport; string procedurelistid = report.GetParameters()["ProcedureId"].Values[0].Trim();
string sequenceId = report.GetParameters()["Sequenceid"].Values[0].Trim();
DataRow[] rows = this.employeeDt.Select("procedurelistid= '" + procedurelistid + "' and sequenceId=" + sequenceId);
this.prDs.EmployeeInfo.Clear();
foreach(DataRow row in rows)
{
this.prDs.EmployeeInfo.ImportRow(row);
}
report.DataSources.Clear();
report.DataSources.Add(new Microsoft.Reporting.WinForms.ReportDataSource("ProductControlReportDataSet_EmployeeInfo", this.prDs.EmployeeInfo)); } 表employeeInfo中有数据,但是最后出来的报表显示不出数据!?!?!