reporting-services

Dynamic matrix width to always equal chart width

微笑、不失礼 提交于 2019-12-13 16:47:36
问题 Most things are dynamic in SSRS i.e you can create a custom expression for most formatting. I have a report with a matrix tool. This matrix will vary in width depending on how many columns are included. Above the matrix is a chart. How do I make the column width dynamic so that is always the same width as the matrix? 回答1: Sorry, but it's not possible . The width of columns in a matrix can't be set with an expression: Q: Will the width property of a column be able to be set at run-time A: This

Reporting Service Keeps Asking for Credential

狂风中的少年 提交于 2019-12-13 16:19:36
问题 I just deployed a reporting service page at our server. But every time I access the page, it keeps asking me for username and password to the datasource (our database). Since the report will be opened for public users, I have to keep the username and password confidential and couldn't share it with the public user. I know there's a way to hide this. I'm thinking there's thing that I missed when configuring the setting for the deployment. Could you guys help me on this ? 回答1: You need to go to

Using Parameters in Visual Studio 2015 Reporting Services

守給你的承諾、 提交于 2019-12-13 16:03:56
问题 I am trying to get a parameter drop-down onto my report in Visual Studio 2015. It shows up fine on the design view, here i have populated it from another data set containing a unique list of one of the columns: But when i go to the Preview tab, the parameters area is empty.. What am i doing wrong? 回答1: This is not the first question about this issue. Here is another one. I cannot say why this happens, and I have not been able to reproduce it either. As I mentioned in the other question, if I

QUERY method of Soap request for SSRS and WCF testing

萝らか妹 提交于 2019-12-13 14:46:17
问题 I am looking for a good testing tool for making Xml query requests and knowledge of how to use them with soap requests that return xml for SSRS. I see some threads on testing SOAP requests for WCF services that recommended some products and someone mentioned 'WebServiceStudio' on codeplex: http://webservicestudio.codeplex.com/. The problem being that this tool seems to not work with making the 'xml request' portion directly. I am not certain if this syntax is just relegated to SSRS or is a

Displaying Time in Reporting Services 2008

て烟熏妆下的殇ゞ 提交于 2019-12-13 14:34:31
问题 I have a table in my report, where I have columns of datatype Time(7) . Now I have problems formatting them correctly in Reporting Services 2008. If I set the format of the expression to HH:mm it does still display 11:12:000 ! I want to get only the hours and minutes! like 11:12 It looks like RS does not know the format. None of the following does work: =Hour(Fields!MyTime.Value) =CDate(Fields!MyTime.Value) Both throw an error. I think it propably does format it as plain text? Thanks for your

How to resize image if the image is bigger than Textbox.But it not increase scale if smaller

眉间皱痕 提交于 2019-12-13 14:14:00
问题 I created RDLC report layouts by using Visual Studio Report Designer. I need to display image on textbox. The image was set center align by Chris Hays 's method. But This method must set sizing to be "Clip" So It has a problem because when Image which it was getting from database is bigger than textbox. It would clipped like below. I tried to use sizing with "Fit Proportional" Mode. It can't set centered image by Chris Hays 's method. But if I use sizing with "Fit to size". I can ignore

SSRS - Setting Table Row Height

心已入冬 提交于 2019-12-13 12:24:41
问题 I'm working in a SSRS report. I have a table in the report. How do I set the row height of the rows in the table? 回答1: Select the row you want to change the height of. With that row selected bring up the properties pane (Alt+enter if you don't see it). Scroll down to the position group of properties and specify the width and height there. The "cangrow" and "canshrink" properties are useful too sometimes. Hope that helps! 回答2: Select one cell in a row , go to properties, go to size, give width

Is there a way to publish rdl reports programmatically with C#?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 12:14:48
问题 I have a solution file in BI that contains 10 report projects. I publish these projects manually with every change. I want to know that is there a solution to deploy these projects on report server programmatically? 回答1: Yes. Use the API: ReportOperationsCollection class This is what VS uses 回答2: We use TeamBuild that comes with M$ TFS. Works like a charm, except we had to write a custom build task to transform the data sources. 来源: https://stackoverflow.com/questions/2323593/is-there-a-way

SQL SSRS-several conditions in one report

心已入冬 提交于 2019-12-13 10:22:33
问题 I am creating a tabular report with several conditions. As a case in point, the conditions could be either of these: X is NULL X is not NULL X like '%Y%' I want to create a kind of drill through report with the capability of selecting one of the above conditions. Now I am creating three tables and use IIF for the visibility of each. I add the parameter to visibility and by selecting one condition the related table becomes visible and the other two becomes hidden. But I am thinking of just a

Passing a Parameter to ReportView

ε祈祈猫儿з 提交于 2019-12-13 10:00:05
问题 I have the following code: protected void ddlCompanyList_SelectedIndexChanged(object sender, EventArgs e) { string strConnectionString = ConfigurationManager.ConnectionStrings[Constants.ConnectionStringName].ConnectionString; string strCustomerID = CommonCode.GetCurrentCustomerID(); string strUserID = CommonCode.GetCurrentUserID().ToString(); DropDownList ddl = sender as DropDownList; string strRSReportLinkID = ddl.SelectedValue; using (SqlConnection connection = new SqlConnection