title: C# HTML Table Button not visible
body: <p>I have created a table from a class using a string builder that takes the data from a data table. Now I added a HTML button inside a field named 'Stadium Name' and it is not showing up. </p>
  
  <p>Here is my code: </p>
  
  <pre><code>  StringBuilder html = new StringBuilder();
  
              html.Append("&lt;table border = '1'&gt;");
  
              html.Append("&lt;tr&gt;");
  
              foreach (DataColumn column in dt.Columns)
              {
                  html.Append("&lt;th&gt;");
                  html.Append(column.ColumnName);
                  html.Append("&lt;/th&gt;");
              }
              html.Append("&lt;/tr&gt;");
  
              foreach (DataRow row in dt.Rows)
              {
                  html.Append("&lt;tr&gt;");
                  foreach (DataColumn column in dt.Columns)
                  {
                      html.Append("&lt;td&gt;");
                      if (column.ColumnName != "Stadium Name")
                      {
                          html.Append(row[column.ColumnName]);
                      }
                      // PROBLEM STARTS HERE
                      if (column.ColumnName == "Stadium Name")
                      {
                          HtmlButton b = new HtmlButton();                       
                          b.ID = "btnSname";
                          b.InnerText = row[column.ColumnName].ToString();
                          b.ServerClick += new EventHandler(btnSname_Click); 
  
                      }    
                      // PROBLEM ENDS HERE             
  
                      html.Append("&lt;/td&gt;");                    
  
                  }
                  html.Append("&lt;/tr&gt;");
              }
  
              html.Append("&lt;/table&gt;");
  
              return html;
  </code></pre>
  
  <p>Now the data under the column stadium name is empty. </p>