M
mamin
Hi,
I need to create html file dynamically from C# code. I need to place
there some javascript code. This js code I'm keeping in fukctions.js
file. Now, I'm generating HTML code, for example:
string htmlContent ="<html><body></body></html>";
......
saveHtmlFile(htmlContent);
and I would like to do something like:
htmlContent+=jsCodeFromFile();before calling saveHtmlFile()
Of course I need to keep this js code in my html file, not in separate
file.
Does anyone know some good solution?
I need to create html file dynamically from C# code. I need to place
there some javascript code. This js code I'm keeping in fukctions.js
file. Now, I'm generating HTML code, for example:
string htmlContent ="<html><body></body></html>";
......
saveHtmlFile(htmlContent);
and I would like to do something like:
htmlContent+=jsCodeFromFile();before calling saveHtmlFile()
Of course I need to keep this js code in my html file, not in separate
file.
Does anyone know some good solution?