المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Use report viewer from a text file?



C# Programming
11-24-2009, 05:30 AM
Hai,

I need to generate a simple report.
No data base or nothing, just a text file read from a USB device.(Only 72 records.)
When I click a button the text file should be read and values shown in a tabular form of my choice. Some calculation also involved.

I am planning to use Microsoft report viewer. It needs a dataset or a class at least.(I am new to databases! please forgive if my terminology is wrong!.)
Since I have no data elements that needs to be updated ,I think I don't need a live database type connectivity. Just populate and wait until close or next load.(Print may be needed).

Please suggest a suitable method with possible details.

Thanks for the time.

With Regards
Roy Thomas

"..this file is known as source file probably because it is a source of frustration and anxiety!" - Chuck Sphar - In book 'C# 2005 for Dummies'.