1
Good evening, everyone.
I have a question here, I hardly touch with web, but I needed to assemble an html file that aims to print a boleto. The project is done in C# and the html file is next to the project. I need to somehow play the data that is in the modeling (model) for the created html.
Part of html:
<p style="margin: 0; "><b>ESTADO</b><br/><!-- Estado Aqui --></p>
I need, the modeling, insert, for example, the "SP" and fill in the place of this field 'Status Here' The project has a modeling with address fields.
Thanks in advance.
How is this file served? It’s an Asp.net page or a stream with html?
– user178974
It is a part file for the document printing I made using pure HTML. I did not mount in Asp nor mvc. I did not imagine that I would use html page. Now that I need to, just using Asp.net to manipulate with data in html? Wouldn’t there be another way? If you have a tutorial that would help me on the Net.
– Marcio Sousa
Does the server read the disk file? If so, there is no way (without doing anything fancy), because the file would be static. You find on the net millions of tutorials from Asp.net and php that is suitable for dynamic pages.
– user178974
This html file is generated by the program only for printing or is on a server?
– user178974
So, it has no server use, well, I see no utility because it will not have database use, for now.
– Marcio Sousa
html is already a page, I need to play only the missing data for it. It is not on a server.
– Marcio Sousa