| |

VerySource

 Forgot password?
 Register
Search
View: 1100|Reply: 9

How to make such a DLL that can output the data received from the database in a specific format to generate a .doc or .p

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-5 14:50:01
| Show all posts |Read mode
I want to make a DLL, its function is: it can receive data from the database, or for others to call, format the raw data, and finally output these processed data into .doc or .pdf files.
For example, an entry is received from the database, which contains three fields such as 12, 34, and 56. After processing by this DLL, a .doc or .pdf file is generated. After opening this .doc or .pdf file, the content displayed is:
Bicycles: 12
Trucks: 34
Cars: 56
And the font, font size, color, line spacing, and other formats of these texts are all determined. These format information are set in this DLL in advance. In fact, it is a report generation problem. There are many softwares that can generate data reports in the form of .html documents, but generate .doc or .pdf files in a fixed format, and if you want to make a DLL that implements this function, How to do it? I don't even have a general idea now. I don't know what development tools and programming languages ​​to use. The main thing is how to implement a DLL with such functions. What method is relatively simple. I implore you to suggest a method or method, the more specific the better, thank you a lot.
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-16 18:30:01
| Show all posts
webservice, you don’t need to do it
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-16 19:30:01
| Show all posts
Google it: office interop
It can realize the creation and operation of office documents.
Please check the information for details. Have done it before,
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-16 21:45:01
| Show all posts
All iTextSharp
Support output PDF and RTF
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 17:45:01
| Show all posts
I don't know, I helped you
Reply

Use magic Report

0

Threads

5

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-24 19:00:01
| Show all posts
Bangding, let's solve it
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 21:00:01
| Show all posts
I also encountered this problem recently, and I don't know how to solve it
Reply

Use magic Report

0

Threads

5

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-24 21:15:01
| Show all posts
Why is there no one in the apartment?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-24 21:30:01
| Show all posts
Office seems to have its own com component for you to call
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-24 22:45:01
| Show all posts
Known can only be achieved through other people's components.. PDF
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list