title: C# Resize DataGridView Column width
body: <p>I'm currently trying to create a DataGridView in my C# Winforms appliation.</p>
  
  <p>I'm adding entrys in the following way:</p>
  
  <pre><code>private void Form1_Load(object sender, EventArgs e)
  {
      table.Columns.Add("Username", typeof(string));
      table.Columns.Add("Status", typeof(string));
  
      table.Rows.Add("first", "second");
  
      bunifuCustomDataGrid1.DataSource = table;
  }
  </code></pre>
  
  <p>But I can't get the size of the datagrid to 100%.</p>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/cQ9lC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cQ9lC.png" alt="enter image description here"></a></p>
  
  <p>How could I make it fill the DataGrid?</p>