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
"David Dvali" <da*********@hotmail.com> escribió en el mensaje
news:eC**************@TK2MSFTNGP14.phx.gbl...
Hello.
How can I get the ReportDocument from CrystalReportViever?
Thank you.