G
Guest
Hello. I recently built an ASP.NET "financial" application. I got to the
point where I have a HTML template (a contract) which needs to be filled with
various data from the database. I put a "generate contract" button on my ASPX
page, but I totally lack ideas of how to put the data in the correct places
in the html file. I was recommended (actually "do like this" from my boss) to
enclose the variable name like this {variable_name} in the html, and he said
that there are some functions to assign the value to the variable but how???
So the question is: how can I place the data that I gather from the database
inside the html file using only asp.net, without any report generation tool
(click the button and there you go: window with the contract filled)? A
little more elaborated example would be highly appreciated as this is my
first ASP.NET app.
point where I have a HTML template (a contract) which needs to be filled with
various data from the database. I put a "generate contract" button on my ASPX
page, but I totally lack ideas of how to put the data in the correct places
in the html file. I was recommended (actually "do like this" from my boss) to
enclose the variable name like this {variable_name} in the html, and he said
that there are some functions to assign the value to the variable but how???
So the question is: how can I place the data that I gather from the database
inside the html file using only asp.net, without any report generation tool
(click the button and there you go: window with the contract filled)? A
little more elaborated example would be highly appreciated as this is my
first ASP.NET app.