report-viewer2010

Winforms Could not load file or assembly 'Microsoft.ReportDesigner, Version=10.0.0.0' in VS2012

假如想象 提交于 2021-02-18 20:15:10
问题 This is driving me nuts. I have a winforms app build in VS2012 targeting .NET 4.5. On a few forms I have to use a ReportViewer. At first I worked with ReportViewer for 2012 (version 11.0.0.0). All working fine. However, my client doesn't want to install this version on their workstations yet because this version uses the CLR Types SQL 2012. Don't ask me why, but I have to accept this for now. So I decided to use the previous reportviewer version 10.0.0.0. I downloaded the redistributional

“RdlCompile” task was not found

给你一囗甜甜゛ 提交于 2021-01-27 18:33:40
问题 I'm trying to compile and project with rldc file, and i'm getting one of two errors, either: The "Microsoft.Reporting.RdlCompile" task could not be loaded from the assembly Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. or: The "RdlCompile" task was not

What is the easiest way to make a “Banded” Report in RDLC?

大城市里の小女人 提交于 2021-01-27 05:35:10
问题 Okay, I may have been googling for the wrong search terms but I can't find how to make a MS-Access style banded report with RDLC (that is the crippled report designer in Visual Studio 2010, not BIDS) And by banded I mean, a report with group headers and sub group headers-- not alternating bands of color. I have a toolbox with a List, Tablix and Matrix, which sort of all behave the same- I keep getting things that look like MS-Access CrossTabs. I can get this: Country Population Date ---------

How to Query Data From SQL Server?

痴心易碎 提交于 2020-01-21 11:24:35
问题 I have a problem in query data from database to make report in VB.NET. I use the Business Object to do the report. And here is my example data: ___________________________________________________________________________ | | | | | | | | Id | Item | Unit | Unit Price | Quantity | Amount | |____|_______________|__________|_____________|___________|_______________| | 1 | Gasoline | L | $ 2.00 | 10 | $ 20.00 | | 1 | Gasoline | L | $ 2.50 | 20 | $ 50.00 | | 2 | Water | Bottle | $ 5.00 | 10 | $ 50

How to collapse a row in RDLC rather than just hide it?

你。 提交于 2020-01-20 08:03:59
问题 I have an RDLC report showing a table. A certain row in this table should not appear in some conditions apply. I was able to set the Hidden property to false using an expression if these conditions apply. The problem is that, though hidden, the row is still taking place in the table, i.e. it is not collapsed. How can I collapse it rather than simply hide it? I am using RDLC with report viewer 2010 SP1 回答1: Check this solution set Hidden property to True or False = (Fields!UserName.Value

Report Viewer Web Control Version 10 Gives Error Despite Set Up Correctly

青春壹個敷衍的年華 提交于 2019-12-20 19:36:36
问题 Reports are deployed and working, verified in Report Manager. My application is an MVC2 app with my report on its own aspx page. This page worked with version 8 of the report viewer control, but we moved to new servers, upgraded sql server, and are trying to update our website to match. The servers are Windows Server 2008 with IIS 7.5. I am testing in both chrome and IE 9. Despite my best efforts, I still get this error: Report Viewer Configuration Error The Report Viewer Web Control HTTP

Report Viewer: Set null value to Report Parameters having allow null true

爱⌒轻易说出口 提交于 2019-12-13 01:25:43
问题 I have a Report Viewer Control in my Web page which is responsible to show all the reports. I want to get the parameters of the report and check if the parameter has allow null property true then I want to pass the parameter value to null. For this I have tried below code but I am getting AllowBlank property as false for all the parameters: ReportParameterInfoCollection defaultParams; List<ReportParameter> reportParams = new List<ReportParameter>(); defaultParams = ReportViewer1.ServerReport

Report not showing up on report viewer

夙愿已清 提交于 2019-12-11 19:36:45
问题 I am developing a c# application where I need to generate a report. I am a using a dataset which is filled with the data coming from a stored procedure which takes one parameter from the C# code. I am creating a parameter in report1.rdlc and populating it with the data from a text box. When I run the application I can’t see anything on report viewer. public void GenerateBranchwiseReport() { conn.Open(); SqlCommand BranchReportcmd = new SqlCommand("select [am/bsi name] from masterlookup where

handle this object datasource on reporting services

二次信任 提交于 2019-12-11 13:08:26
问题 If I had a class defined with this attributes public class GestionesDataSet { public DateTime GestionInicio { get; set; } public DateTime GestionFin { get; set; } public Nullable<DateTime> LlamadaInicio { get; set; } public Nullable<DateTime> LlamadaFin { get; set; } public string Login { get; set; } public string Tipificacion { get; set; } public List<CamposGestion> campoValor { get; set; } } And the class called CamposGestion is defined like this public class CamposGestion { public string

Reportviewer send email via gmail

99封情书 提交于 2019-12-11 08:17:47
问题 I am working on a WinForm where a reportviewer is embedded. How do I send email via gmail/yahoo and attach this report as a pdf? I looked at this post http://www.codeproject.com/Articles/32109/Send-Mail-and-Print-Report-in-Report-Viewer-Contro but was not sure if it would work only with desktop email clients such as Outlook or will it support web based email client? Thanks in advance! 回答1: const string HTML_TAG_PATTERN = "<.*?>"; static string StripHTML(string inputString) { return Regex