如何列出所有报告, 我在报告服务器上创建的报告? 稍后我要使用此列表在 < code> ReportViewer 控制器中显示它们 。
How can i trasform a microsoft sql server report service in web application or something that i can access on the net? thanks to all that would help me
如何列出所有报告, 我在报告服务器上创建的报告? 稍后我要使用此列表在 < code> ReportViewer 控制器中显示它们 。
报告服务器使用名为 findObjects nocursive
的存储程序。
string cnxstr = "Data Source=server;Initial Catalog=ReportServer;Integrated Security=SSPI;"; //connection string
using (SqlConnection connection = new SqlConnection(cnxstr))
{
connection.Open();
SqlCommand command = new SqlCommand();
command.Connection = connection;
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "FindObjectsNonRecursive";
command.Parameters.Add(new SqlParameter("@Path", "/folder_name"));
command.Parameters.Add(new SqlParameter("@AuthType", 1));
SqlDataReader reader = null;
try
{
reader = command.ExecuteReader();
while (reader.Read())
{
string path = reader["Path"].ToString();
//now you can display this path in your list, or do whatever
}
}
finally
{
if (reader != null)
reader.Close();
}
}
How can i trasform a microsoft sql server report service in web application or something that i can access on the net? thanks to all that would help me
When I m running the report I m getting that message above. The Report Works fine when I press the "Run Report" Button but I want also to avoid that annoying message that appears when the page loads. ...
I m writting a custom assembly to be referenced in a report. I d like to be able to access the Report object from that assembly, so that I could then access the report parameters and other stuff that ...
I have created a Windows Application based UI using C# to enable users to manage the items of the Reporting Server. One of the functionalities I have implemented was to right-click on the name of the ...
I have built a report pretty basic just a table wiht 45 rows of data. Problem is its only showing one row of data and its the last row. It displays just fine in the dataset and proc. any ...
I m developing an SSRS in Visual Studio BIDS. In it, I have a link that links to another report (report A). Report A has 4 parameters (dates). When I click on that link, it goes to report A fine, but ...
I have several .rdl reports designed for our client. However, they need new ones, that are relatively similar to the old ones. Differences are in the "group" and "page fields" (these can be changed ...
Hey, In our project, we use SSRS integrated with asp.net forms to render reports. The report looks good in IE. when it comes to google chrome, there re some issues we face such as date picker not ...