Without seeing your code here is a snippet on how to generate SSRS reports in C#
No Idea if this is what you are looking for.
If you could provide more information about what you are trying to achieve then maybe i can improve upon this but for right now this snippet would generate a report from SSRS like you mentioned
private static string fileName = null;
private static string historyID = null;
private static string deviceInfo = null;
private static string format = "PDF";
private static string encoding = null;
private static string mimeType = null;
private static string extension = null;
private static string[] streamIDs = null;
private static string _reportName = null;
private static string _historyID = null;
private static bool _forRendering = false;
private static Byte[] results;
private static report.Service.Reference reportService;
private static report.Execution.Reference reportExecReference;
fileName = destinationFilePath;
historyID = null;
deviceInfo = null;
format = (Path.GetExtension(destinationFilePath).ToUpper()).Replace(".", "");
encoding = null;
mimeType = null;
extension = null;
streamIDs = null;
_reportName = reportName;
_historyID = null;
_forRendering = false;
reportService = new report.Service.Reference.ReportingService2005();
reportExecReference = new report.Execution.Reference.ReportExecutionService();
reportService.Credentials = new NetworkCredential("username", "password", "DOMAIN");
reportServiceExec.Credentials = new NetworkCredential("username", "password", "DOMAIN");
reportService.Url = String.Format(@"http://{0}/reportserver/reportservice2005.asmx", iniDatabaseServer);
reportServiceExec.Url = String.Format(@"http://{0}/reportserver/reportexecution2005.asmx", iniDatabaseServer);
historyID = null;
deviceInfo = null;
format = Path.GetExtension(destinationFilePath) == ".xls" ? "Excel" : "PDF";
encoding = String.Empty;
mimeType = String.Empty;
extension = String.Empty;
report.Execution.Reference.Warning[] warnings = null;
streamIDs = null;
fileName = destinationFilePath;
_reportName = reportName;
_historyID = null;
_forRendering = false;
report.Service.Reference.ParameterValue[] _values = null;
report.Service.Reference.DataSourceCredentials[] _credentials = null;
report.Service.Reference.ReportParameter[] _parameters = null;
_parameters = reportService.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials);
report.Execution.Reference.ExecutionInfo ei = reportServiceExec.LoadReport(_reportName, historyID);
report.Execution.Reference.ParameterValue[] parameters = new report.Execution.Reference.ParameterValue[parameterName.Count];
if (_parameters.Length > 0)
{
for (int i = 0; i < parameterName.Count; i++)
{
parameters[i] = new report.Execution.Reference.ParameterValue();
parameters[i].Label = null;
parameters[i].Name = parameterName[i];
parameters[i].Value = parameterValue[i];
}
}
reportServiceExec.SetExecutionParameters(parameters, "en-us");
results = reportServiceExec.Render(format, deviceInfo,
out extension, out encoding,
out mimeType, out warnings, out streamIDs);
using (FileStream stream = File.OpenWrite(fileName))
{
stream.Write(results, 0, results.Length);
}