Click here to Skip to main content
15,922,015 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there a way to create a report in C# that does not consist of only plain text?

I need to create a small, uncomplicated report, but I have found NOTHING on the web.

Does anyone know if a way to do this?

I would be very appreciative of some assistance!

Dave

What I have tried:

Beating my head against the wall. :)
Posted
Updated 25-May-24 21:26pm
Comments
Richard MacCutchan 26-May-24 3:34am    
Well there are many ways, but it will depend on what information you want to show in the report and where that information comes from. You could write your own report class to do the job, or use any of the report builder libraries that are available. So perhaps you could add some proper detail to your question.
Dave Kreskowiak 26-May-24 11:22am    
To add to the other comments, you didn't even specify what type of application you're writing. Windows Forms? WPF? ASP.NET? MVC? ...

1 solution

That's not really a question we can answer in its current form - it depends too much on what you consider "a report" and what "creating" it means to you.

A report could be a printed sheet of paper, and you might need help working out how to print. Or it could be an extract of relevant data from a database, with associated totals, averages, trends, graphs, and so forth - or anywhere in between!
Just calling it "a small, uncomplicated report" and saying "does not consist of only plain text" doesn't help, if only because a small uncomplicated report would probably consist of just plain text from a single, simple source!

So start at the beginning, and think about what you need in your report, where it comes from, and how it is to be presented. Then start working from that to build the components you need to get it completed. I know, I know - that sounds like generic advice, and it is - but unless you have a fixed plan for what you need to produce from where, nobody can really help you!
This may help get you a little more "focussed": How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
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