title: Unable to add DataGridViewButtonColumn on right in WinForms
body: <p>I have built a WinForms application with a DataGridView. I would like to add button columns for <code>Edit</code> and <code>Delete</code> at the end (right side).</p>
  
  <p>I have code like this for data binding:</p>
  
  <pre><code>public FrmMain()
  {
      InitializeComponent();
      var editColumn = new DataGridViewButtonColumn  //Adding Edit column
      {
          Text = "Edit",
          UseColumnTextForButtonValue = true,
          Name = "Edit",
          DataPropertyName = "Edit"
      };
      dataGridView1.Columns.Add(editColumn);
      var delColumn = new DataGridViewButtonColumn  //Adding Delete Column
      {
          Text = "Delete",
          UseColumnTextForButtonValue = true,
          Name = "Delete",
          DataPropertyName = "Delete"
      };
      dataGridView1.Columns.Add(delColumn);
      DisplayData(); //Method to bind data in gridview
  }
  </code></pre>
  
  <p>This will add the buttons at columns 0 and 1, like the attached image. How can I do this to add the buttons at the end, after the state column?</p>
  
  <p><a href="https://i.stack.imgur.com/grpzm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/grpzm.png" alt="enter image description here"></a></p>