Search code examples
c#databasevisual-studio-2010ms-accesscrystal-reports

Crystal report using visual studio gives wrong value like color names,day names etc


I want to create a crystal report using visual studio 2010.I have linked my ms-access database with visual studio c# web application. I have gone through some tutorials for crystal report download and usage.

Ms-access Table:customer_vcs(ID,cname,contact,email,address).

Now this table have below mentioned data.

Ms-access table values in visual studio

But when i previewed the crystal report from customer_vcs table,it show the below mentioned values:

Crystal Report values of the above said ms-access table

Now i dont understand from where these data of crystal report came. Please help me.


Solution

  • hey @jambonick i found the problem somehow accidently.For creating crystal report i must select the DSN name which i need to create from ms-access database.Simple ms-access database connection will not take any effect for crystal report generation.