myReport.SetDataSource(reportData);
            if (subSourceDic != null && subSourceDic.Count > 0)
            {
                foreach (string key in subSourceDic.Keys)
                {
                    myReport.Subreports[key].SetDataSource(reportData.Tables[subSourceDic[key]]);
                }
            }

posted on 2012-03-30 16:16  万德源  阅读(173)  评论(0编辑  收藏  举报