Represents a report that is processed and rendered locally without connecting to a report server.
Questions tagged [localreport]
81 questions
25
votes
15 answers
.NET DataTable skips rows on Load(DataReader)
I'm trying to populate a DataTable, to build a LocalReport, using the following:
MySqlCommand cmd = new MySqlCommand();
cmd.Connection = new MySqlConnection(Properties.Settings.Default.dbConnectionString);
cmd.CommandType =…

Tom
- 6,991
- 13
- 60
- 78
13
votes
2 answers
Rendering an RDLC report in HTML in ASP.NET MVC
I would like to render an RDLC report in HTML within an ASP.NET MVC project.
I successfully made a prototype that renders an RDLC report in PDF, Excel, and TIFF image, with the help of this article. But I was surprised that HTML is not one of the…

William Niu
- 15,798
- 7
- 53
- 93
10
votes
5 answers
How can I improve the performance of the LocalReport.Render method when exporting PDF from .rdlc in code?
I want to render big non-graphical reports (thousands of pages) in the code level, omitting the ReportViewer control that just jams the browser, from the .rdlc files. When I test to render a report that is somewhat 2000 pages, the…

anssi
- 729
- 7
- 9
10
votes
3 answers
Provide data from a code class to the Reporting Services designer in VS 2013
I'm trying to create a local SQL Server Reporting Services report (.rdlc file) and connect this report to some data sets that I generate in code (no direct SQL Server connection).
I create a ReportDataProvider class with some instance methods that…

marc_s
- 732,580
- 175
- 1,330
- 1,459
9
votes
5 answers
Getting the relative path to the rdlc report in my winform app
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…

Mike Wills
- 20,959
- 28
- 93
- 149
9
votes
1 answer
How to refer to the value of a textbox in an expression window (Local Report)?
The expression window doesn't need to be the expression window you can open by right-clicking the textbox -> choosing Expression. A textbox has some expression windows which are Font-related expression windows, Alignment-related expression windows,…

Hopeless
- 4,397
- 5
- 37
- 64
7
votes
4 answers
ASP.NET ReportViewer very slow in local mode
I'm using .Net 4.5 and ReportViewer 11 in local mode. My reports are rendered very slowly (10 min). I found in this post that adding to web.config will solve the problem, and it did. Report render time…

nima
- 6,566
- 4
- 45
- 57
6
votes
0 answers
The data area passed to a system call is too small upon printing c#
I have a window service the prints certain documents with image using the PrintDocument class. Occasionally, I'm encountering this error upon printing "The data area passed to a system call is too small" and the image on the report was not printed.…

Justin Flores
- 61
- 3
5
votes
0 answers
.NET LocalReport / .rdlc AppDomain issues
I'm using Microsoft.Reporting.WebForms.LocalReport and .rdlc Report files to generate .pdf:s. This is done in the background in a Windows Service (.NET 4.6, x64, VS2015).
I'm having two issues:
The Windows service keeps consuming memory an…

Poppert
- 447
- 1
- 5
- 16
5
votes
1 answer
C# LocalReport change textbox location
How can I change position in LocalReport of any object. Like TextBox or Image and so on. For example try to change Left coordinate.
I was try this way:
ReportParameterCollection reportParameters = new…

John Conor
- 71
- 7
4
votes
3 answers
Best way in Converting DataGrid View to DataSet/DataTable
DataSet, DataTable and linq expression are common DataSource values of a DataGridView.
Now in reverse, is it possible to pass/bind a DataGridView record to DataSet or DataTable?
Thanks

BizApps
- 6,048
- 9
- 40
- 62
4
votes
3 answers
C# ReportViewer Local Report with Parameter
Good Afternoon All,
I've spent the best part of the last 2 weeks searching for help on the issue I'm having with my C# WinForm application.
I have a form which has a DataGridView displaying details pulled from a database. When the user double-clicks…

Tom Camish
- 69
- 1
- 1
- 10
4
votes
2 answers
Printing landscape/portrait in rdlc without preview
I am trying to print a local report in either landscape or portrait.
private void Export(LocalReport report)
{
Warning[] warnings;
m_streams = new List();
var deviceInfo = new StringBuilder();
…

wakthar
- 720
- 1
- 8
- 21
4
votes
1 answer
How to embed a Font in solution to use for PDF with RDLC
I have an RDLC report created via Webforms.LocalReport that uses a few custom fonts that I have installed on my dev machine. This works well, and embeds the fonts in the PDF so that others don't need the font installed to view.
My problem is, when…

brad
- 105
- 1
- 9
4
votes
1 answer
Generating report from rdlc xml string
I'm facing an issue when generating reports.
I should generate report dynamically using all data from database for it (source name and rdlc report that stores as xml string)
So I solved problem next way:
Create local rdlc file with report xml…

Serhii Kyslyi
- 1,745
- 24
- 43