title: Error creating control - GridView1. The server tag is not well formed
body: <p>I'm just trying to make my gridview editable, which will be filled with data from the database. 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.
  I don't know what mistake I am doing due to which I am get this error in design view of visual studio <code>ERROR:- Error creating control - GridView1. The server tag is not well formed.</code></p>
  
  <p>Have a look at the tag and show me where I am making mistake.</p>
  
  <p>.aspx :-</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/AdminHome/AdminMainPage.master" AutoEventWireup="true" CodeFile="questions.aspx.cs" Inherits="AdminHome_questions" %&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"&gt;
  
      &lt;asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns = "false"
  AllowPaging = "true" PageSize = "10"  Font-Names = "Arial"
  Font-Size = "11pt" AlternatingRowStyle-BackColor = "#C2D69B" 
  HeaderStyle-BackColor = "green"  OnPageIndexChanging = "OnPaging"&gt;
  &lt;Columns&gt;
      &lt;asp:TemplateField ControlStyle-Width="100%" HeaderText="Questions"&gt;
          
  
          &lt;ItemTemplate&gt;
              
  
              &lt;asp:Table runat="server" Width="100%"&gt;
                 
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Description") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Question") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow &gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Option1") %&gt;&lt;/asp:TableCell&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Option2") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Option3") %&gt;&lt;/asp:TableCell&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Option4") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("CorrectAns") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;%# Eval("Explanation") %&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
              &lt;/asp:Table&gt;
                      
  
          &lt;/ItemTemplate&gt;
          &lt;EditItemTemplate&gt;
              &lt;asp:Table runat="server" Width="100%"&gt;
                 
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Description")%&gt;"&gt;&lt;/asp:TextBox&gt; &lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Question") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow &gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Question") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Option2") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Option3") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Option4") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("CorrectAns") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
                  &lt;asp:TableRow width="100%"&gt;
                      &lt;asp:TableCell&gt;
                          &lt;asp:TextBox runat="server" text="&lt;%# Eval("Explanation") %&gt;"&gt;&lt;/asp:TextBox&gt;&lt;/asp:TableCell&gt;
                  &lt;/asp:TableRow&gt;
              &lt;/asp:Table&gt;
          &lt;/EditItemTemplate&gt;
      &lt;/asp:TemplateField&gt;
  
  
  &lt;asp:TemplateField ControlStyle-Width="100%"&gt;
          
  
          &lt;HeaderTemplate&gt;
  Sections 
  &lt;asp:DropDownList runat="server" OnSelectedIndexChanged = "SectionChanged" AutoPostBack = "true"
              AppendDataBoundItems = "true"&gt;
                   &lt;asp:ListItem Text = "ALL" Value = "ALL"&gt;&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Text = "Top 10" Value = "10"&gt;&lt;/asp:ListItem&gt;
  
               &lt;/asp:DropDownList&gt;
  &lt;/HeaderTemplate&gt;
  &lt;ItemTemplate&gt;
  &lt;%# Eval("SectionName") %&gt;
  &lt;/ItemTemplate&gt;
  &lt;EditItemTemplate&gt;
  &lt;asp:TextBox ID="txtPageDesc" runat="Server" TextMode="MultiLine" Rows="10" Columns="50"
  
                                  Text='&lt;%# Eval("SectionName") %&gt;'&gt;&lt;/asp:TextBox&gt;
  &lt;/EditItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  
      &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
  
  &lt;/asp:Content&gt;</code></pre>
  </div>
  </div>
  </p>