Export data to Excel


Author
Message
Randy Moore
Randy Moore
StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)
Group: Forum Members
Posts: 12, Visits: 140
I would like to be able to read a text file, extract what I need from it and create a datatable based on the extraction. Then I would like to be able to export that data to excel. Some cells would have to have custom formatting at run time and I don't want to have to use a template in order to achieve this. I've already done some research and found several ways of doing this, but wanted to know if anyone has their own way of doing it, an industry standard, or if there are any 3rd party software that would accomplish this task. I think DevExpress' XtrReports can do this but don't want to bother creating the report first. Any thoughts?



Paul Chase
Paul Chase
Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)Advanced StrataFrame User (576 reputation)
Group: Forum Members
Posts: 414, Visits: 2.8K
Not 2 sure about 3rd party stuff but I have used both Com Interop and XSLT to export data from excel if I needed to do formatting otherwise I just comma delimit it and write it to file. Like anything else it takes a little time to figure out how to do what you want but there are tons of examples on google.

Paul

Peter Jones
Peter Jones
Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)Advanced StrataFrame User (504 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Randy,

If you have DevExpress then doing a 'report' on a grid is really easy and once you have the report on screen (in preview mode) then exporting it to Excel (or pdf or rtf etc) just takes a few clicks.

Peter

StarkMike
StarkMike
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Forum Members
Posts: 436, Visits: 944
Hi Peter, could you provide some more detailed info about this topic? Thanks
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search