Click here to Skip to main content
15,894,460 members
Home / Discussions / C#
   

C#

 
GeneralNetwork programming Pin
felopater17-Mar-05 10:19
felopater17-Mar-05 10:19 
GeneralRe: Network programming Pin
Heath Stewart17-Mar-05 14:30
protectorHeath Stewart17-Mar-05 14:30 
GeneralRe: Network programming Pin
felopater18-Mar-05 10:52
felopater18-Mar-05 10:52 
GeneralRe: Network programming Pin
Heath Stewart18-Mar-05 20:06
protectorHeath Stewart18-Mar-05 20:06 
QuestionXMLSerializer and a collection of collections? Pin
Kasdoffe17-Mar-05 10:10
Kasdoffe17-Mar-05 10:10 
AnswerRe: XMLSerializer and a collection of collections? Pin
Kasdoffe17-Mar-05 10:13
Kasdoffe17-Mar-05 10:13 
GeneralCrystal Reports .NET Pin
SignMan35917-Mar-05 9:02
SignMan35917-Mar-05 9:02 
GeneralRe: Crystal Reports .NET Pin
Heath Stewart17-Mar-05 14:34
protectorHeath Stewart17-Mar-05 14:34 
SignMan359,

An alternative would be to get a DataSet yourself using a DataAdapter derivative (like a SqlDataAdapter) and use that to populate the report by calling ReportDocument.SetDataSource. When designing your report, you can bind against an strongly typed ADO.NET DataSet. Read Reporting off ADO.NET Datasets[^] for details.

This would allow you, then, to get the DataSet, check any rows in tables you want, then decide whether or not to instantiate your ReportDocument-derivative that you've designed, set the data source, and display it. This way you can also control whether the report and report viewer are even instantiated in the first place.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralProperty question Pin
thepersonof17-Mar-05 6:52
thepersonof17-Mar-05 6:52 
GeneralRe: Property question Pin
DavidNohejl17-Mar-05 7:08
DavidNohejl17-Mar-05 7:08 
GeneralRe: Property question Pin
Robert Rohde17-Mar-05 7:11
Robert Rohde17-Mar-05 7:11 
GeneralRe: Property question Pin
Nick Parker17-Mar-05 7:34
protectorNick Parker17-Mar-05 7:34 
GeneralRe: Property question Pin
J4amieC17-Mar-05 23:47
J4amieC17-Mar-05 23:47 
GeneralHexa Converting Pin
WaleedH17-Mar-05 5:48
WaleedH17-Mar-05 5:48 
GeneralRe: Hexa Converting Pin
techieboi17-Mar-05 6:14
techieboi17-Mar-05 6:14 
GeneralRe: Hexa Converting Pin
Robert Rohde17-Mar-05 7:13
Robert Rohde17-Mar-05 7:13 
GeneralRe: Hexa Converting Pin
WaleedH17-Mar-05 12:05
WaleedH17-Mar-05 12:05 
GeneralCalling C# function within Browser Control Pin
Adnan Siddiqi17-Mar-05 5:00
Adnan Siddiqi17-Mar-05 5:00 
GeneralRe: Calling C# function within Browser Control Pin
techieboi17-Mar-05 6:39
techieboi17-Mar-05 6:39 
GeneralRe: Calling C# function within Browser Control Pin
Adnan Siddiqi17-Mar-05 7:29
Adnan Siddiqi17-Mar-05 7:29 
General[IPC on WinCE] Send data between applications Pin
Darth.Vader17-Mar-05 3:22
Darth.Vader17-Mar-05 3:22 
GeneralRe: [IPC on WinCE] Send data between applications Pin
Guinness4Strength17-Mar-05 5:17
Guinness4Strength17-Mar-05 5:17 
GeneralRe: [IPC on WinCE] Send data between applications Pin
Guinness4Strength17-Mar-05 5:34
Guinness4Strength17-Mar-05 5:34 
QuestionWhich is better? for or foreach? Pin
GhostsOfOrion17-Mar-05 2:35
GhostsOfOrion17-Mar-05 2:35 
AnswerRe: Which is better? for or foreach? Pin
Roger Alsing17-Mar-05 3:30
Roger Alsing17-Mar-05 3:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.