Click here to Skip to main content
15,901,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i am creating a windows application in ma project i am using crystal report now i met a problem

C#
private void btnShow_Click(object sender, EventArgs e)
        {
            this.Cursor = Cursors.WaitCursor;
            objreportclass = new Report.ReportClass();
            objdatabaseclass = new DataBaseClass();
            objreportclass.FROMDAT = dtpFrom.Text.Trim();
            objreportclass.TODAT = dtpTo.Text.Trim();
            Table = objreportclass.Getreports();
            rptcombinedcollection rr = new rptcombinedcollection();
            rr.SetDatasource(Table);
            crystalReportViewer1.ReportSource = rr;
            this.Cursor = Cursors.Arrow;
        }

i don't get the setdatasource in the line rr.setdatasource what is the problem pls help me

i met the problem that i can't write the line rr.setdatasource(table),means am writing rr. then the setdatasource is not in there pls help me how can i get the setdatasource

Inconsistent accessibility: base class 'Collegeapps.Report.ReportClass' is less accessible than class 'Collegeapps.Report.rptcombinedcollection'

C#.net windows application developer
Posted
Updated 23-Dec-13 0:47am
v6
Comments
An@nd Rajan10 20-Dec-13 5:16am    
Mr. ravuravu..i have the same problem, anybody helps we..
Madhav Hatwalne 21-Dec-13 13:31pm    
r u trying in a crystal reportviwer ? information provided by you is very less
member 8888995 24-Dec-13 4:19am    
Where you are declaring 'Table'?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900