Click here to Skip to main content
15,894,410 members
Please Sign up or sign in to vote.
2.60/5 (2 votes)
See more:
my code

C#
dbcommand = db.GetStoredProcCommand("[crBankbook]");
           cptNew cr = new cptNew();
           cr.SetDataSource(ds.Tables[0]);
           crystalReportViewer1.ReportSource = cr;


error--The report has no tables.
Line--cr.SetDataSource(ds.Tables[0]);


i want to create crystalreport without tables in crystalreport

that is possible, or give alternate way!!!

Regards
AR
Posted
Updated 17-Dec-13 23:05pm
v2
Comments
thatraja 18-Dec-13 5:01am    
What's the error message?
An@nd Rajan10 18-Dec-13 5:04am    
this is the error--The report has no tables.
Line--cr.SetDataSource(ds.Tables[0]);

 
Share this answer
 
Comments
An@nd Rajan10 18-Dec-13 5:18am    
+5
 
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