title: ASP.NET Gridview the server tag is not well formed
body: <p>I'm trying to make my GridView editable, which will be filled with data from the database.</p>
  
  <p>When my program starts, it will connect to the database and fill the GridView with data. Now I want to edit the data in it, but when I start my program, I get the error "the server tag is not well formed."</p>
  
  <p>Of course I'm looking for some solutions and the most common mistake was, that <code>""</code> was used instead of <code>''</code>, but I'm already using <code>''</code>.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;asp:GridView ID="griddb" runat="server" AutoGenerateEditButton="True" 
  CellPadding="4" EnableModelValidation="True" ForeColor="#333333" 
  GridLines="None"&gt;
  &lt;AlternatingRowStyle BackColor="White" /&gt;
  &lt;FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /&gt;
  &lt;HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /&gt;
  &lt;PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" /&gt;
  &lt;RowStyle BackColor="#FFFBD6" ForeColor="#333333" /&gt;
  &lt;SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" /&gt;
  &lt;Columns&gt;
  
  &lt;asp:TemplateField HeaderText="Name" &gt;&lt;ItemTemplate&gt;
  &lt;%#Eval("lastname")%&gt;&lt;/ItemTemplate&gt;
  &lt;EditItemTemplate&gt;
  &lt;asp:TextBox ID="textbox1"runat="server"Text='&lt;%#Eval("lastname")%&gt;'&gt;
  &lt;/asp:TextBox&gt;
  &lt;/EditItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  
  &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>The following snippet is marked as the error:</p>
  
  <pre><code>&lt;asp:TextBox ID="textbox1"runat="server"Text='&lt;%#Eval("lastname")%&gt;'&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>