ReportDocument

  • Thread starter Thread starter David Dvali
  • Start date Start date
David,

As far as I know, you could only use the ReportSource property. The problem
is that ReportSource is kind of "polymorphic" variable, and it could store a
ReportDocument reference, a String reference...
In any case, you could try to cast ReportSource into a ReportDocument using
the 'as' operator...

ReportDocument doc = crv.ReportSource as ReportDocument;
if (doc != null) {
// it worked
}

Regards - Octavio
 
Hi,


Using ReportSource property

IIRC this is a object, so you will have to cast it to ReportDocument, or
even to your own derived class.


cheers,
 
Back
Top