How Can I Create Reports in a Custom C#.NET Windows Application? - General Question

Posted by user311509 on Stack Overflow See other posts from Stack Overflow or by user311509
Published on 2010-04-16T11:12:53Z Indexed on 2010/04/16 11:23 UTC
Read the original article Hit count: 312

Assume i have a custom Windows application written in C#. This application has only the following functionalists, add, edit, delete and view. For example, a user can add a sale, change sales record, delete a sale record or view the whole sales record.

I need to add some reporting functionalists e.g. i want a user to print the sales of a certain customer from 2008 to 2009 into pdf, what all products a certain customer has purchased from us and so on. I will only include the basic common report requests that are usually needed in the office.

Any other kind of reports that are requested inconsistently, i would do it manually from my side at the back end and send the results manually to the requester.

What i would do is:

If a user wants more info of a certain customer, a special window box appears for that customer. This window box will have different controls that allows user to request more info such as, print customer purchases from ..... to ..... (user chooses the dates) and user will view results in pdf or so. Of course, at the back scene i will write an appropriate SQL Query with parameters that meets a certain function.

Is this how it should be done? I have heard about SQL Reporting, i don't know anything about it yet. I will check it out. Anyhow, your suggestions won't harm. I'm still a student, so i don't have practical experience yet. I hope my question is clear enough.

Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET