473,387 Members | 3,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Generate reports programmatically with reporting services & SQL server 2005

Hi guys

I am looking for the best way to generate new reports with reporting
services for SQL server 2005. The reports will be generated programmatically
from a .Net VB application. So far I see the only way to do it is to feature
my objects (text blocks, pictures, tables drawn from excel and databases
etc.) with a "render to RDL"- function and thus create an RDL definition of
the report, then push that one to the server using the reporting web
service.

I found though on the MSDN site the
"Microsoft.ReportingServices.ReportRendering" name space, which seems to be
there for extending the reporting services features. Instead of writing code
to produce RDL, isn't there a way to use that object model to create a new
report using something like this?:

Dim repIt as new Microsoft.ReportingServices.Report
Dim imgIt as new Microsoft.ReportingServices.Image

'Adjust properties of image here, and load it

repIt.Add(imgIt)

'More of the same

'Deploy and use the report

Am I thinking totally wrong, or how could I do more elegant than producing
RDL with my application? I prefer to use the proper object model than
producing RDL.

I am happy for any hints in this matter.

Martin

Jan 17 '06 #1
2 8173
Hi,

Didnt sql server 2005 add a Report server project and report server
wizard to the business intelligence projects in vs 2005?

Ken
------------------------
"Martin Widmer" <ma***********@businessnet.de> wrote in message
news:dq**********@nntp.init7.net...
Hi guys

I am looking for the best way to generate new reports with reporting
services for SQL server 2005. The reports will be generated
programmatically
from a .Net VB application. So far I see the only way to do it is to
feature
my objects (text blocks, pictures, tables drawn from excel and databases
etc.) with a "render to RDL"- function and thus create an RDL definition
of
the report, then push that one to the server using the reporting web
service.

I found though on the MSDN site the
"Microsoft.ReportingServices.ReportRendering" name space, which seems to
be
there for extending the reporting services features. Instead of writing
code
to produce RDL, isn't there a way to use that object model to create a new
report using something like this?:

Dim repIt as new Microsoft.ReportingServices.Report
Dim imgIt as new Microsoft.ReportingServices.Image

'Adjust properties of image here, and load it

repIt.Add(imgIt)

'More of the same

'Deploy and use the report

Am I thinking totally wrong, or how could I do more elegant than producing
RDL with my application? I prefer to use the proper object model than
producing RDL.

I am happy for any hints in this matter.

Martin

Jan 17 '06 #2
Hi Ken

"Ken Tucker [MVP]" <vb***@bellsouth.net> schrieb im Newsbeitrag
news:ui**************@TK2MSFTNGP14.phx.gbl...
Hi,

Didnt sql server 2005 add a Report server project and report server
wizard to the business intelligence projects in vs 2005?


Yes exactly. But I don't want to create reports using a wizard. I need to
create the report programmatically. And I wonder if there is a way using the
report object model for that. I could do it by simply creating a RDL file by
code, but using objects is more elegant :)

Martin
Jan 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Matej Kavčič | last post by:
Hello, I have one question i saw that Visual Studio Professional Edition and Team System inlude SQL Reporting Services so how will be with licensing, it will be free for this report with sql...
14
by: LP | last post by:
Hi, I will be taking on a new project developing a web-based "reporting system". The first requirement I got from BI group is "we just want to look at the data". Basically, there is a huge...
1
by: Brian Barnes | last post by:
I've been searching using google trying to find a way to display Access Reports via ASP.NET and only finding commericial products which appear to require that the report needs to be converted every...
2
by: Stephen Wolfman | last post by:
I'm rendering an RS report into an image programmatically before printing (using System.Drawing.Printing) it, but it always renders the image based upon the screen resolution of the server that my...
7
by: Aaron Schnieder | last post by:
Hi, After battling with Crystal Reports for a while I have started to look for alternatives. It seems like there has got to be something out there that does a better job than Crystal Reports...
9
by: Altman | last post by:
I am currently using ASP.Net 2003 and will be upgrading to 2005 sometime in the near future. I have been having issues with using Crystal Reports that were included with .Net to handle my...
0
by: Pieter | last post by:
Hi, I'm having a problem deploying Reporting Services Reports on a ReportServer, when the reports have to be put in subdirectory's and use a shared DataSource. I'm using an application...
1
by: Roy | last post by:
Hey all, This came up in a meeting and I can't find any firm answers online, so I figured I'd come to you. :) Essentially, what's the difference between VS 2005 Crystal Reports and SQL Server 2005...
3
by: gullible | last post by:
This whole report thing in VS2005 is a joke, right? What an unbelievably really bad piece of crap! Hopefully, they have fired the incompetent team that developed this really non-usable tool. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.