title: How to make equal size of Gridview
body: <p>I have a <code>asp.net</code> (<code>C#</code>) project Where I am using <code>gridview</code> to show details. But My all of the cells are not of same size. Please Help me to make them of equal size.</p>
  
  <p><img src="https://i.stack.imgur.com/FxYmT.png" alt="enter image description here"></p>
  
  <p><code>aspx</code> design code of <code>Gridview</code> : </p>
  
  <pre><code> &lt;asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                  DataSourceID="SqlDataSource1" ForeColor="#333300" 
                                  onpageindexchanging="GridView1_PageIndexChanging" 
                                  AutoGenerateColumns="False" EnableSortingAndPagingCallbacks="True" 
                                  HorizontalAlign="Center" PageSize="5"&gt;
                                  &lt;RowStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" /&gt;
                                  &lt;Columns&gt;
                                      &lt;asp:BoundField DataField="Enrollment" HeaderText="Enrollment" 
                                          SortExpression="Enrollment" /&gt;
                                      &lt;asp:BoundField DataField="Subject" HeaderText="Subject" 
                                          SortExpression="Subject" /&gt;
                                      &lt;asp:BoundField DataField="Message" HeaderText="Message" 
                                          SortExpression="Message" /&gt;
                                  &lt;/Columns&gt;
                                  &lt;FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" /&gt;
                                  &lt;PagerStyle HorizontalAlign="Center" VerticalAlign="Middle" /&gt;
                                  &lt;HeaderStyle BorderColor="Black" BorderStyle="Inset" HorizontalAlign="Center" 
                                      VerticalAlign="Middle" /&gt;
                                  &lt;EditRowStyle BorderStyle="Solid" /&gt;
                              &lt;/asp:GridView&gt;
  </code></pre>