Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi friends,

i have a form that with a query i can read data's from database and put them into a dataset that have a datatable.i searched many for this error and i do not find any information about it.i placeed every necessary code for showing data in crystalreportviewer but it do not show any thing. is there any file for put in the app.config file or is there any relation between crystal report and visual studio and sqlserver 2008R2. i am using crystal report version 13 and visual studio 2010. and i use .net framework version 4.0

thank you
Posted
Comments
[no name] 19-Apr-14 17:58pm    
This reposting has even less information in it than your previous. What error are you talking about?
_Starbug_ 20-Apr-14 5:20am    
the crystalreportviewer does not show any information.you think what can be the problem?
[no name] 20-Apr-14 8:29am    
Well... my first thought is that you have done something wrong. What you have done wrong is kind of hard to tell because you have given us exactly no information about your error to tell!

 
Share this answer
 
Comments
_Starbug_ 23-Apr-14 5:17am    
thank you.my table name in datast.xsd was different with what i am get in sqldataadapter. after correcting this probleem it works fine.
thatraja 23-Apr-14 5:30am    
welcome
You no give enough information. Is it windows form or asp.net form?
I fetch slimier type of problem before.That is happen for use long integer data.Some time its happen for not correctly white dataset. So first check data type and white dataset like given example.

C#
var ds = new DataSet(datasetName;);


 var query ="Your SELECT Query";

//Populate Your DataTable

 ds.Tables.Add(dataTable);

 ds.WriteXmlSchema(@"../../DataSetFile/DataSet.xsd");//after ending your code writing run your project  and run your cReport. after then comment out this line.

I think its helpful for you.
thanks.
 
Share this answer
 
1 st make sure sure you have correct and proper crystal report installed in your PC i mean there are some versions on scn.sap.com which does not support visual studio integration.

i will suggest you to download this version
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe[^]


and then after follow this simple steps to create crystal report

Generate a Report using Crystal Reports in Visual Studio 2010[^]
 
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