bek
asked on
How to do a simple report in C# ?
Hello.
I need to write a simple report for a desktop application (that uses a dataset). Can someone provide some example code?
I'm not picky--it can use the native C# printing ability or Crystal Reports. Either one is fine, but the example needs to be fairly simplistic, as this is my first exposure to printing in C#.
Thanks,
Brian
I need to write a simple report for a desktop application (that uses a dataset). Can someone provide some example code?
I'm not picky--it can use the native C# printing ability or Crystal Reports. Either one is fine, but the example needs to be fairly simplistic, as this is my first exposure to printing in C#.
Thanks,
Brian
ASKER
Thanks, but I already took a look at that one. I need something that will provide some sample code for reporting from a dataset.
ASKER
I think I just found a solution. For anyone else learning how to do Crystal Reports with C#, please check out this article:
http://www.codeproject.com/aspnet/crystal_report.asp?print=true
Looks like it will be a good introduction.
EE, please delete this question.
http://www.codeproject.com/aspnet/crystal_report.asp?print=true
Looks like it will be a good introduction.
EE, please delete this question.
Before this question is deleted...
Hve you considered another option to this.
https://www.experts-exchange.com/questions/21414572/Develop-Reports-in-NET.html
Hve you considered another option to this.
https://www.experts-exchange.com/questions/21414572/Develop-Reports-in-NET.html
ASKER
cyberdevil67,
That is a great article--I appreciate you sending it to me. I almost went with Crystal until I realized that it's COM-based and I'd have to bother with registering DLLs. I ended up working late into the night last night and have a GDI+ solution started that I think will work fine.
Thanks for responding, though!
That is a great article--I appreciate you sending it to me. I almost went with Crystal until I realized that it's COM-based and I'd have to bother with registering DLLs. I ended up working late into the night last night and have a GDI+ solution started that I think will work fine.
Thanks for responding, though!
You don't need to register anything.
What made you think you need to register dll's?
What made you think you need to register dll's?
ASKER
I've got a friend who does Crystal. He said Crystal isn't "native .NET" for version 10 and below (we don't have the newest verison). Is he wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yeah, I should have clarified--he's talking about deploying the reports with my application.
You've put so much work into my little question, I can't help but give you the credit. :) Thanks so much.
You've put so much work into my little question, I can't help but give you the credit. :) Thanks so much.
glad to help
http://aspalliance.com/articleViewer.aspx?aId=215