469,327 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

How to export the excel values to crystal reports

Hi ,
I am a dotnet developer.I am working on crystal reports.My requirement
is like this
I have an excel sheet with some values.I need to read the excel values
from excel sheet and need to show the values in crystal reports using
c#.what i can do for populating the excel values into crystal reports.
for getting the values from excel i worked following steps.
1.Go to solution explorer
2.add new item
3.select crystal report
4.I selected the option using the report export(standard from the
choose an expert)
5.I choosed "datbasefiles" folder in available data sources
6.i browse my xml sheet path and i assigned the field names
7.i created a windows form
8.i wrote following code in form load event
crystalReportsPractice.test t = new test();
crystalReportViewer1.ReportSource = t;
t.Close();
here test is my crystal report name
if i run the form now it is asking for username and password what i
need to give here.
otherwise is there any way to get the excel values and show it into
crystal reports using c#.
Thanks in advance

Dec 8 '05 #1
1 2279
srinivas wrote:
Hi ,
I am a dotnet developer.I am working on crystal reports.My requirement
is like this
I have an excel sheet with some values.I need to read the excel values
from excel sheet and need to show the values in crystal reports using
c#.what i can do for populating the excel values into crystal reports.
[...]
otherwise is there any way to get the excel values and show it into
crystal reports using c#.


This is a JavaScript group, you might look for a Microsoft C# group.

microsoft.public.dotnet.languages.csharp
<URL:http://groups.google.com/group/microsoft.public.dotnet.languages.csharp?lnk=lr>

microsoft.public.dotnet.csharp.general
http://groups.google.com/group/micro....general?hl=en
--
Rob
Dec 8 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Danny Ni | last post: by
reply views Thread by Vadim Vulfov | last post: by
2 posts views Thread by =?Utf-8?B?Um9iZXJ0?= | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.