title: Disable text wrap in asp.net gridview
body: <p>The output is like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>MyNameIsJohnSmithAnd
  Imaperson
  </code></pre>
  
  <p>What I want is to display it in only one line</p>
  
  <pre class="lang-none prettyprint-override"><code>MyNameIsJohnSmithAndImaperson
  </code></pre>
  
  <p>My Aspx gridview code is: </p>
  
  <pre class="lang-aspx prettyprint-override"><code>&lt;asp:GridView ID="GridView1" runat="server" BackColor="LightGoldenrodYellow" 
      BorderColor="Tan" BorderWidth="1px" CellPadding="5" Font-Names="Calibri" 
      Font-Size="Medium" Font-Underline="False" ForeColor="Black"&gt;
      &lt;RowStyle Wrap="False"/&gt;
      &lt;EmptyDataRowStyle Wrap="False"/&gt;
      &lt;FooterStyle BackColor="Tan" BorderColor="Black" BorderStyle="Solid" Wrap="False"/&gt;
      &lt;PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
          HorizontalAlign="Center" Wrap="False" /&gt;
      &lt;SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" Wrap="False"/&gt;
      &lt;HeaderStyle BackColor="Tan" BorderStyle="Solid" Font-Bold="True" Wrap="False"/&gt;
      &lt;EditRowStyle Wrap="False"/&gt;
      &lt;AlternatingRowStyle BackColor="PaleGoldenrod" Wrap="False"/&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>I disabled all the wrap property to false in gridview. but the text still wraps.</p>