Saturday, December 27, 2014

Read text file data and create a report with page headings, column headings.

Why can you not use a free and freely distributable third party solution like crystal reports?


Because on the face of it that seems a bit of a strange limitation.


Come to think of it.


"


Output file will be passed to LRS Anyque file/report distribution system which will print and archive the report to an imaging system.


"


If you have a reporting system you're passing this to then why isn't that doing the reporting?


"


Is there a way to take advantage of the mainframe dataset definition?.


"


That would kind of depend on what a mainframe dataset definition is and what you're actually trying to do.


.


You have a tab delimited file.


You can use split:



string[] inputs = s.Split('\t');

That'll give you an array of the fields which you would refer to by index.


Not nice, but do-able.


.


You can put whatever you like into a datatable and that can be in a dataset.


I would be more precise with an answer but I have no idea what you mean by a report heading from your description.


Once you have some stuff in a datatable which defines headings, what then?




Please don't forget to upvote posts which you like and mark those which answer your question.

My latest Technet article - Dynamic XAML


No comments:

Post a Comment