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  万德源  阅读(180)  评论(0)    收藏  举报