473,785 Members | 2,612 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Generate reports programmaticall y 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 programmaticall y
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.Repo rtingServices.R eportRendering" 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.Repor tingServices.Re port
Dim imgIt as new Microsoft.Repor tingServices.Im age

'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 8201
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.n et...
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
programmaticall y
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.Repo rtingServices.R eportRendering" 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.Repor tingServices.Re port
Dim imgIt as new Microsoft.Repor tingServices.Im age

'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***@bellsout h.net> schrieb im Newsbeitrag
news:ui******** ******@TK2MSFTN GP14.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 programmaticall y. 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
1522
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 database 2000 express. I don't know whic report to use, beacause I have small and large customers. So for small customers i create reports and they use MSDE now will be sql server 2005 express, and if i want use one report tool then my small custumer...
14
2205
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 database, and they want certain people to be able to drill down to the data they want, perhaps a few graphs here and there, and then extract selected data to an Excel file or a flat file for further analysis. As of now there are a handful of parameters...
1
3204
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 time that a change is made (this is not ideal for my situation). What I need is something that references the access reports (the data itself is in MS SQL Server) and will display them. Some of the solutions to this I have come across are...
2
2950
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 app is running on. Anyone know if there's a way to change the resolution properties of the image that is to be rendered. The Image Device Information Settings:...
7
7251
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 because I have run across a lot of issues with it in the short time I have been working with it. I have an ASP .NET database site that will be going live for a small business in the near future, so price is definately a factor. I am filling a...
9
8274
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 reporting needs. I was wondering if anybody has an opinion on how the new reportViewer control works in comparison to Crystal. One of the main problems I have been having with Crystal Reports is that they seem to load very slow no matter how small the...
0
1091
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 similar to this one: http://www.devx.com/dotnet/Article/22014/0/page/1 When I'm trying to deploy to a subdirectory of the folder in which I put the
1
1563
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 Reporting Services? Does one have any benefits over the other? Is anyone aware of comparison sites? TIA
3
1878
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. Heck, they don't even have a dedicated newsgroup for this dotnet category. 1. Can't put items in the Header, when using headers and footers, that come from the PO_Header. 2. Try editing a really long IIF statement; what a frigging joke. That...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10336
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10155
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8978
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7502
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.