1、添加web引用
http://server/reportserver/ReportService2005.asmx?wsdl
需要用户名密码
2、// 获取服务器报表列表

 

      View Code
 
ReportingServices.ReportingService2005 rs = new CnkiStat.ReportingServices.ReportingService2005();
      
//rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
      rs.Credentials = new System.Net.NetworkCredential("username""password");
      
string folder = "/CnkiReports";
      ReportingServices.CatalogItem[] reportItems 
= rs.ListChildren(folder, true
posted on 2011-06-30 10:37  坐井观天  阅读(539)  评论(1编辑  收藏  举报