Re: OrderID or DataTable
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxx>
- Date: Tue, 10 Apr 2007 08:19:56 -0700
It really depends on how your partner is building the report. If he's using
Reporting Services, it makes sense to send him the OrderID as the query is
built into the report definition--the Reporting Services engine will rerun
the query. If he's using the ReportViewer control, then passing a populated
DataTable makes sense as this is what the ReportViewer control expects.
hth
See Chapter 14.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"Tim" <Tim@noemailcom> wrote in message
news:%23srHfa3eHHA.3632@xxxxxxxxxxxxxxxxxxxxxxx
Hi Gurus,
I need advice from you. We are going through an arguement.
I am working on a [ORDERS] project, and another person is working on
[REPORTING].
What he want me to pass is a OrderID, then he will do a query, create a
DataTable to create a report.
But the question is should I pass a OrderID, or a DataTable which I
already have before I call the report.
I peronally don't want to do any query or any round trip to database if I
already have the data.
The other programmer don't think I am right. He want to keep his project
simple and clean.
I just want your suggestion, that what is right solution for this.
Should I pass DataTable or OrderID.
Thanks for any help you can provide.
We are using DotNet Framework 2.0
Thanks, Tim
.
- Follow-Ups:
- Re: OrderID or DataTable
- From: Tim
- Re: OrderID or DataTable
- References:
- OrderID or DataTable
- From: Tim
- OrderID or DataTable
- Prev by Date: OrderID or DataTable
- Next by Date: Re: DateTime column.
- Previous by thread: OrderID or DataTable
- Next by thread: Re: OrderID or DataTable
- Index(es):
Relevant Pages
|