title: Easiest way to display a string from code behind asp.net
body: <h2>I had a look at these:</h2>
  
  <p><a href="https://stackoverflow.com/questions/15354928/how-to-dislay-validation-message-from-code-behind">How to dislay Validation Message from code behind</a></p>
  
  <p><a href="https://stackoverflow.com/questions/13281666/how-do-i-display-string-from-code-behind-in-page">How do I display string from code behind in page</a></p>
  
  <p>Does anyone know a easier way?  e.g.</p>
  
  <pre><code>string msg = "hello";//code behind
  
  &lt;p&gt;&lt;% msg %&gt;&lt;/p&gt;
  </code></pre>