title: Insert dynamic content into static HTML
body: <p>My requirement is to insert some dynamic content into a static HTML file from the Database. I am able to do this on the client side using javascript.</p>
  
  <p>The actual requirement is to take the values from the Database and insert the values into fields in the static HTML.</p>
  
  <p>For example, this is how I think the static HTML would look like</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt;
     &lt;head&gt;
     &lt;/head&gt;
     &lt;body&gt;
        &lt;div&gt;
           &lt;p&gt;The first name is (Insert first name from DB)&lt;/p&gt;
           &lt;p&gt;The second name is (Insert last name from the DB)&lt;/p&gt;
        &lt;/div&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The static HTML is already saved locally or it might be present on the server.</p>
  
  <p>I am planning to build a console application in .NET which does this. How would I be able to achieve this?</p>
  
  <p>I have searched the website and didn't see something similar.</p>