reportviewer

SQL Server 2016 CTRP3.2 Report Viewer is missing a JavaScript method

ⅰ亾dé卋堺 提交于 2019-12-19 04:12:39
问题 Using SQL Server 2016 CTP3.2 Report Viewer (13.0.800.111), only the toolbar is shown. It looks like a Power BI method is missing. Also, will there be a NuGet for Report Viewer? 回答1: Just ran across this thread. The question: "will there be a NuGet for Report Viewer?" -- Yes, look out for a NuGet version of 2016 based report viewer controls this month (September). Note that the controls will not expose the PowerBI method described here. 回答2: To overcome broken report viewer you have to purge

Getting the relative path to the rdlc report in my winform app

巧了我就是萌 提交于 2019-12-18 15:55:10
问题 I am automatically creating a PDF from some of our reports in a month-end process. I am running into a problem where ReportViewer.LocalReport can't find my report. Within the project, the report files are in "(project root folder)/Reports/report.rdlc". How do I set ReportViewer.LocalReport.ReportPath so I can reference my report file? I would rather not set the full path because I don't know where it would be installed when installed on the client machines. 回答1: Use the Application

Build of project with RDLC cannot find custom assembly

烂漫一生 提交于 2019-12-18 15:18:10
问题 I've been tearing my hair out for three days trying to get an RDLC report to build in VS2010. I want to access a custom assembly from another project in the same solution in an expression for a Text item on a subreport. There is a reference to the assembly in the project containing the RDLC and I added a reference to the assembly DLL in the properties of the subreport, but when I build it I get an error telling me it cannot find the file: Error while loading code module: ‘CCCArchive, Version

How to use ReportViewer 2010 in MVC.NET 2

喜欢而已 提交于 2019-12-18 13:31:49
问题 Basically I want to know how to embed a report into MVC.Net 2. 回答1: I did the question, because there's not enough information on the web, or the information is not that complete so you can start working. The first thing you have to know is that the report viewer is a webcontrol so you can't use it on MVC, so first thing you have to do is create a web form so you can add the report viewer. In the example I've done I'm using Visual Studio 2010. The webform looks like this: <html xmlns="http:/

Report Viewer - Setting the decimal places for a textbox value

孤者浪人 提交于 2019-12-18 09:01:57
问题 I'm using Report Viewer Control (rdlc) to generate reports. One of my columns have the value =AVG(Fields!Reading.Value, "CellReading_Reading") I'm getting the value with 10 or more decimal places. But i want to round it off to 3 decimal places. What is the expression for doing this? Thank you. NLV 回答1: FormatNumber(AVG(Fields!Reading.Value, "CellReading_Reading"),3) 回答2: Right-click the textbox Click the number Select number from the category Set Decimal Places to 0 回答3: cdonner's answer was

How can I load datatable as ReportDataSource?

独自空忆成欢 提交于 2019-12-17 19:52:54
问题 I am trying to do something like: this.reportViewer.LocalReport.DataSources.Clear(); DataTable dt = new DataTable(); dt = this.inputValuesTableAdapter.GetData(); Microsoft.Reporting.WinForms.ReportDataSource rprtDTSource = new Microsoft.Reporting.WinForms.ReportDataSource(); rprtDTSource = dt; // this line generates exception //this.reportViewer.LocalReport.DataSources.Add(rprtDTSource); this.reportViewer.RefreshReport(); How can I load datatable as ReportDataSource? The current code produces

Powershell Silent Uninstall “Microsoft Report Viewer Runtime 2012”

你说的曾经没有我的故事 提交于 2019-12-17 14:56:49
问题 I have tried many of the common approaches(MSI, PowerShell) to silently uninstalling the following application: MSI $ReportViewer2012 = Get-WmiObject -Class Win32_Product -Filter "Name = 'Microsoft Report Viewer 2012 Runtime'" | Select-Object -Expand IdentifyingNumber if ($ReportViewer2012) { echo "Unistalling: Microsoft Report Viewer 2012 Runtime" msiexec /passive /x $ReportViewer2012 | Out-Null } Powershell (Get-WMIObject Win32_Product -Filter 'name="Microsoft Report Viewer 2012 Runtime"')

Pass DataTable to ReportViewer

為{幸葍}努か 提交于 2019-12-17 14:56:14
问题 I am trying to pass a datatable to a reportviewer wich I fill it by code , is there a way to do that ? i try this but nothing happen Dim bs As BindingSource bs = New BindingSource() bs.DataSource = DataTablefillbycode Dim rs As ReportDataSource rs = New ReportDataSource() rs.Name = "Tabletest" rs.Value = bs form2.ReportViewer1.RefreshReport() form2.ReportViewer1.Reset() form2.ReportViewer1.LocalReport.ReportEmbeddedResource = "Test.Report1.rdlc" form2.ReportViewer1.LocalReport.DataSources

Viewing SSRS Reports in an ASP.net MVC Site

僤鯓⒐⒋嵵緔 提交于 2019-12-17 10:16:25
问题 Is there a way to put a SQL Server Reporting Services report viewer control on an ASP.net MVC view? If not...what is the best way to accomplish this? 回答1: No, not in a MVC view. But you can have a web forms pages which have server controls in them mixed in with your MVC site. Hmm, just googled "mix asp.net mvc and web forms" to find some examples, and google questioned whether I'm human or not :) Anyway, here's a link - http://www.packtpub.com/article/mixing-asp.net-webforms-and-asp.net-mvc -

An error occurred during report processing. -RLDC reporting in ASP.NET MVC

旧时模样 提交于 2019-12-17 05:13:39
问题 I have this action to generate reports : public ActionResult Report(string id) { LocalReport lr = new LocalReport(); string path = Path.Combine(Server.MapPath("~/Report"), "Person.rdlc"); if (System.IO.File.Exists(path)) { lr.ReportPath = path; } else { return View("Index"); } List<Person> cm = new List<Person>(); var viewModel = new PersonIndexData(); viewModel.People= db.Person .Include(k => k.Groups) .OrderBy(k => k.Name); cm = viewModel.People.ToList(); ReportDataSource rd = new