title: How to use div by its Id in MVC Controller?
body: <p>I'm developing a new application in ASP.Net MVC (beginner) from old application which is in ASP.Net and have one query that How should I convert below line of code into new in MVC?</p>
  
  <p>HTML: </p>
  
  <pre><code>&lt;div runat="server" id="dvLogList"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>.cs:</p>
  
  <pre><code>dvLogList.InnerHtml = sb.ToString()
  </code></pre>
  
  <p>I need to set the <code>StringBuilder</code> appended <code>string</code> <code>html</code> code to as <code>dvLogList</code> <code>innerhtml</code></p>