title: Display data from single column in multiple columns in GridView in ASP.NET
body: <p>I am displaying data from my table (one column) in a grid, but the data is large (about 50 entries). Can I display the data in multiple columns/ rows so that it is easy for the user to read without scrolling down?
   Here's my code.</p>
  
  <p>ASPX:</p>
  
  <pre><code>   &lt;asp:GridView AlternatingRowStyle-BackColor="Wheat" 
                   ID="GDV_1" runat="server"  
                   EnableModelValidation="true" 
                   AutoGenerateColumns="false"
                   OnSelectedIndexChanged="GDV_1_SelectedIndexChanged" 
                   AutoGenerateSelectButton="false" DataKeyNames="SROID"&gt;
  
         &lt;Columns&gt;
             &lt;asp:HyperLinkField DataTextField="SRONameinEnglish" 
                                 HeaderText="SRO Name" 
                                 DataNavigateUrlFields="SROID" 
                                 DataNavigateUrlFormatString="Webredirect2.aspx?SROID={0}" /&gt;
  
         &lt;/Columns&gt;
  
     &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>ASPX.CS</p>
  
  <pre><code> protected void btn_submit_Click(object sender, EventArgs e)
          {
              FeesBLL p = new FeesBLL();
              GDV_1.DataSource = p.table(txt_1.Text);
  
              //GDV_1.Columns[1].Visible = true;
              GDV_1.DataBind();
  }
  </code></pre>
  
  <p>Kindly give you suggestion fr achieving the required result.</p>