Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 how to create a shared DataSet programmatically

Author  Topic 

fc
Starting Member

2 Posts

Posted - 2011-01-26 : 21:24:51
Hi,

I would like to know how to create a shared DataSet programmatically in Report Server using the report server web service?

I can create folders, reports, data sources, but i don't have a method to create a DataSet.


example creating a report:

ReportingService2005 rs = new ReportingService2005();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

FileStream fileStream = File.OpenRead(Path.Combine(folderPath, fileInfo.Name));
byte[] bytes = new byte[fileStream.Length];
int x = fileStream.Read(bytes, 0, bytes.Length);

string reportName = Path.GetFileNameWithoutExtension(fileInfo.Name);
rs.CreateReport(reportName, "/reports", true, bytes, null);


thanks in advance
fabio

fc
Starting Member

2 Posts

Posted - 2011-01-27 : 06:28:21
http://stackoverflow.com/questions/4812139/how-to-create-a-shared-dataset-programmatically-in-report-server-2008-using-repor
Go to Top of Page
   

- Advertisement -