I am developing a simple application using win forms C# in which simple text fields receive data from the user.
Now i want to print that fields data in report format keeping in mind i am not using any database.
How can i do that? if it's too simple then i am sorry, i am just a beginner.
You can use Microsoft Reports. Data source doesn't have to be database, you can use object from your solution.
Useful links:
Object data source
General info
Related
I want to do below task using iText7.
create template using HTML or ..(some fields can be able to hide
according to user input)
Fill the template with the database data
generate accessible pdf
How can I do this?
As far as I understand, you want to have an HTML template where you will fill in data based on user input as well as data coming from your database. This is possible in iText in general, however you would need to do a lot of work, especially if you want to have a template for the PDFs that you are going to generate (as well as the template for the HTML form for capturing data).
It would be nice to have a tool where we design the HTML form and the form with which the output PDF is going to be generated interactively and maybe even using the same resources, sub-forms, sub-templates etc. Then the only thing the technical person would do is to bind the actual data to the form elements. The template will have the logic to show/hid elements or any other conditions that you might come up with. It would simplify the workflow a lot.
iText is working on a product called Dito which was announced in GIDS 2018 in Bangalore, India and a demo session was given. Dito is going to do exactly what you want and what I describe above. You can find the presentation here: http://www.developermarch.com/developersummit/downloadPDF/Dito.pdf
You can find also document workflow here: https://itextpdf.com/sites/default/files/attachments/LL_iText_Infographic_Flyer_A4-pdf.pdf
I am developing an application using C# which is simply the user inputs data, it is saved in a db (which is not SQL Server but MySql) and then prints it.
At this stage the user gave me a template which has the logo and some company information on top, in the middle the lines i need to fill and on the bottom some other information regarding this company.
Is it possible to open this document fill the required lines and print it using c#?
Sorry i cannot provide anything but i am stuck here and can't seem to figure out from where to start?
Thanks & Regards
Do you have access to any kind of reporting ie.Crystal Reports or SQL Server Reporting Services. You have one of 2 options, either you need to write a report that mimics his template using one of the technologies above, or you would need to use interops to access MSWord or MSExcel and do it that way. You may be able to use some third party PDF software.
If this was my project I would go the report route.
One of the educational data was stored in adobe page maker file (.PMD) file. Which consist of scientific formulas like mathematical equations, chemistry formulas, I would like to store those data on a MSSQL database then represent in browser. I tried to read PMD file data using C#.NET unfortunately I didn’t get the results which I required.
Can anybody help me regarding this?
Is there any possible ways to read page maker data instead of C#.NET?
Is there any chance of getting the result if we convert the PMD file to another extension?
Sorry, I am not familiar with PageMaker, so just speculating.
You can try to convert to Indesign file:
https://helpx.adobe.com/creative-suite/kb/open-pagemaker-files-indesign.html
Indesign has XML export and script support.
I have an Excel file with a formatted table. Right now I have a database in sql server, I'm pulling the data into my c# asp.net program. I want to know if anyone has an idea of what I should try to use that Excel format to display data from a query at a webpage without having to go in and construct the table from scratch. I tried looking for a good tutorial on how to import an excel file and use it as a template for crystal reports, had no luck. Any advice would be greatly appreciated!
I have used a third party component called ASPOSE.NET to acheive this. ASPOSE provides extensive formatting options and support a wide variety of file formats.
However it is not a free product.
I have an application on a server and I want it to send a file that can be parsed for the data I am looking for with as little human error as possible.
I am not sure what tags to attach to this it is being coded in C# though.
I was thinking an excel spreadsheet but it can be changed to easily from what I'm told.
What is a vaible way to recieve data to be parsed that can have any format?
Or
What is a way to enter data to get to the network without setting up a program?
Edit:
The server is on a diffrent network than the user wich they cannot directly access.
InfoPath is made for user form data like that.
Excel is another option, but you're right - its difficult to validate user input.
Google Spreadsheet's Forms feature is a nice alternative but getting the data from the spreadsheet afterward could be a pain.