title: static variables as Header of TemplateFields in grdiv view asp.net
body: <p>I have the asp.net application where I am having the editable grid view with the edit,Delete,Add options. this grid having as usual Template fields. I have also a static Class that having static string variables. I want to keep these static variable's value as Header text of Template Field. 
  So I have imported my constant class's namespace by :</p>
  
  <pre><code>&lt;%@ Import Namespace="ConstantManagerNamespace" %&gt;
  </code></pre>
  
  <p>Then I tried for same column:</p>
  
  <pre><code>1. &lt;asp:TemplateField HeaderText=&lt;%=ConstantManager.Name%&gt;&gt;
  
  2. &lt;asp:TemplateField HeaderText='&lt;%=ConstantManager.Name%&gt;'&gt;
  
  3. &lt;asp:TemplateField HeaderText=&lt;% ConstantManager.Name %&gt;&gt;
  
  4. &lt;asp:TemplateField HeaderText='&lt;% ConstantManager.Name%&gt;'&gt;
  
    all probable syntax to access my constant variable value but
  </code></pre>
  
  <p>I got Parser error:</p>
  
  <pre><code>Literal content ('&lt;asp:TemplateField HeaderText=') is not allowed within a 'System.Web.UI.WebControls.DataControlFieldCollection'.
  </code></pre>
  
  <p>how to do this ?</p>