Exists the way to create a funtion that receive any Crystal Report, C# -


i'm using c# , crystal reports develop web application, problem have app has lot of reports, need know it's possible this:

private void showreport (crystal_report myreport) {    myreportviewer.reportsource = myreport } 

i'm not sure why you'd want to, can tell compiles , works provided have prepared reportdocument:

private void showreport (reportdocument myreport) {    myreportviewer.reportsource = myreport } 

Comments