Winforms report generator, where is it? - c#

I am doing maintenance on a winforms project, VS2013 framework 4.5
Now I got to a point where some reports need to be build, but I cannot find the report generator that comes with visual studio.
So, this might be a stupid question, but where is the report generator from visual studio ?
Its been some years since I worked with a microsoft programming tool but I believe that something called crystal reports was delivered with older versions of visual studio. What is the report generator that is delivered with visual studio these days and where to find it ?

You can still use the ReportViewer that comes with Visual Studio to view reports. You can simply draw that control on your Form.
For the creation of reports, you can add a new Report item to your project, which works inside the visual designer of Visual Studio. This will create a .rdlc file.
Crystal Reports doesn't have a bundle agreement with Microsoft any more, so they can't be found pre-installed any more. You can still download it though.

Related

Visual Studio 2013 - Add Item > Report option missing

I want to create RDLC file in my C# project. (http://msdn.microsoft.com/en-us/library/ms252067.aspx) But I'm not getting Reporting item templates (Report or Report Wizard).
I've got VS2013 Professional Edition so I assume it should have been there.
I've also installed SQL Server Data Tools for VS2013 and I'm able to create New Report Server Project and add a report there. But that's RDL file, that's not what I'm looking for.
I've tried devenv.exe /InstallVSTemplates with no luck.
I'm not able to find these item templates online either (not sure if my company firewall is blocking anything).
Does anyone know what could be the reason for missing item templates (Report or Report Wizard) and how can I get those added in my current project?
Have you installed the Microsoft Report Viewer Runtime/Redistribution? These install the report viewer controls.
Microsoft Report Viewer Runtime 2012
Microsoft Report Viewer 2010 Redistributable Package
After installing VS 2013 Update 4 (http://www.microsoft.com/en-us/download/details.aspx?id=44916) I'm able to see Reporting item templates.
Please note: I had installed Report Viewer Runtime and Redistributable package as suggested by #Scott before installing Update 4. That time Reporting item templates were not available.
Now I'm not sure if Update 4 in itself is sufficient for item templates or you need Update 4 + Report Viewer runtime/redistributable.

No RDL Report option in Add New Item of ASP.net web project

Hello I am trying to create a website in VS 2013 and trying to add a report (.RDL) in the project. But when I do Add New Item, I am not able to see any report or report wizard in the dialog.
I did installed SSDT Tools for SSRS as well but still I didn't got any report template/editor in the visual studio 2013. Previously I was using vs 2012 and later when I installed vs 2013 I was able to get the report template in the VS 2013 but when I formatted my PC, I just installed 2013 but no option for reports or report viewer in the tool box.
Can anyone please guide me to get the template back ?
After looking at your list of installed templates, I think you got the wrong version of SSDT, since you have options for SQL Server templates, but not Business Intelligence. There are two very distinct versions of SSDT: SSDT for regular database tooling, and SSDT-BI (contains templates for SSAS, SSRS, SSIS projects).
Please follow this link and download SSDT-BI for 2013:
http://www.microsoft.com/en-us/download/details.aspx?id=42313
This should install the desired templates.

Running crystal reports from csharp.net

I've created a bunch of RPT files and we've been using Business Objects to run them against our sql db using a different param's for each rpt file to generate a pdf.
Is there an api I can use to run these reports?
I've downloaded and installed crystal reports for visual studio, but (1) I'm not sure which dll's I need to add to accomplish this and (2) I can't find any documentation or sample code -- can anyone point me in the right direction?
I'm not quite sure what you are trying to accomplish, your question is not very clear. If you are looking for a program to view the reports in, SAP has a free version of the Crystal Reports Viewer available here. If you want to create applications to run your reports in, you will need something like Visual Studio, which lets you create Windows Forms or Web Applications to embed your Crystal Reports in.
EDIT: To add Crystal Reports to Visual Studio you will first need to download the runtime from SAP. Most commom runtimes can be found here. Then you will have to add the CR to your toolbox in VS by choosing Tools -> choose Toolbox items. Make sure the .NET Frameworks Components tab is selected and scroll to the CrystalReport items. Check the items you want to add (CrystalReportViewer for sure) and click OK. After that the CR Viewer should be available to you in the Reporting section of your toolbox.

how to use crystal reports in visual studio 2010

I am developing c# application using visual studio 2010.. Now i want to use crystal report in my project but I am using Visual studio 2010 first time.. So when I add crystal report in project then it creates .mht file and ask me to download SAP crystal reports..
http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp
Several downloading options as shown in above link.. I have tried by downloading several setups which includes
1.SAP Crystal Reports, version for Visual Studio 2010 - Click Once
2.SAP Crystal Reports, version for Visual Studio 2010 - Click Once (32 Bit)
But after installation of this still no effect in visual studio and still asking me for download..
One more thing I want mention that my system is of 32 bit thats why i cant go for 64b bit..
I think this is the same question as here:
Use Crystal Reports 2011 in Visual Studio 2010
Finally I found the solutions..
By downloading the product
1)SAP Crystal Reports, version for Visual Studio 2010 - Standard
As this works fine and integrated successfully with visual studio 2010 IDE..

How to Generate crystal report in visual studio 2010 WPF application?

I want to generate a crystal report in visual studio 2010 in WPF application.
Can anyone please help me to solve out ?
I have tried but it does not works ..
please provide me the code ?
Crystal Report now doesn't comes with Visual Studio. You have to download it separately. Follow this link: http://www.businessobjects.com/jump/xi/crvs2010/default.asp .
Once you install the CR2010. You will be able to add crystal report pages (.rpt) in your project using VS 2010.
I don't think Crystal Reports are provided by default any more in VS2010, you have to download and install them separately.

Categories