title: set column width of a gridview in asp.net
body: <p>I dragged and dropped a GridView from toolbox to Aspx page.the design code looks like this</p>
  
  <pre><code>&lt;asp:GridView ID="gridview1" runat="server"   style="text-align:center;width: 1327px;" 
      CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True" 
      EnableSortingAndPagingCallbacks="True" PageSize="50" AutoGenerateEditButton="True"&gt;
      &lt;AlternatingRowStyle BackColor="White" ForeColor="#284775" /&gt;
      &lt;EditRowStyle BackColor="#999999" /&gt;
      &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
      &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
      &lt;PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" 
          Height="12px" VerticalAlign="Bottom" Width="12px" Wrap="False" /&gt;
      &lt;RowStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt;
      &lt;SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt;
      &lt;SortedAscendingCellStyle BackColor="#E9E7E2" /&gt;
      &lt;SortedAscendingHeaderStyle BackColor="#506C8C" /&gt;
      &lt;SortedDescendingCellStyle BackColor="#FFFDF8" /&gt;
      &lt;SortedDescendingHeaderStyle BackColor="#6F8DAE" /&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>I have a column by name Address in database.The table is bound to this grid view using following VB.NET code</p>
  
  <pre><code> Dim ds as Data.DataSet
   Dim da As New OleDbDataAdapter("select col1,col2,col3,col4,col5,col6,col7,col8,col9,col10,Address from table, con)
          da.Fill(ds)
          gridviewrealestate.DataSource = ds
          gridviewrealestate.DataBind()
  </code></pre>
  
  <p>Now,When the gridview is displayed,the columns are very close to each other due to large information present in Address Column.I want to set the Address Column to a particular width.
  Please help me how to do this.</p>