title: The name 'changetype' does not exist in the current context
body: <p>I am new in ASP.net /c# coding. I have a Gridview in my usercontrol with this column</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Parameter Order"&gt;
       &lt;ItemTemplate&gt;
          &lt;asp:Label ID="orderlbl" runat="server"  Text='&lt;%# changetype(Eval("PARAM_ORDER")) %&gt;' &gt;&lt;/asp:Label&gt;
  
       &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;  
  </code></pre>
  
  <p>the param_order is int. I have defined the Changetype in cs file as</p>
  
  <pre><code>public string changetype(object order)
  {
      string lcResult = "";
      int itemOrder = (int)order;
      lcResult = itemOrder.ToString().TrimEnd();
      return lcResult;
  }
  </code></pre>
  
  <p>but I get the above error message.</p>