Creating a report from class - Is it possible ? Report viewer

852 Views Asked by At

I have a simple customers Managment winform applicaton . The app is build on text files and not on database . Each customer has a folder which inside there is a txt file that contains the information. (ex: ID , NAME , DATE , EMAIL) I created a class that reads the information and returns a dictionary . Key is the parameter (ex : CustomerID ) and Value is the value for the customer (ex: 100).

Now I would like to set a report using report viewer control. I want the report to show all customers and their information. I managed in the past to do that for a data that is in a database , but is it possible to get my desired report when the information located in a txt files ? If so , where do I begin / Can anyone show my an example ?

Thank you for your help. Shuki

0

There are 0 best solutions below