VB.net DataGridView more additional columns than expected being added in
Hi. I am using the following code to populate a bound DataGridView and then add in an additional CheckBox column but for some reason 3 extra CheckBox columns are being added. Thanks
Dim connection As New OleDbConnection(ConnectionString)
Dim dataadapter As New OleDbDataAdapter(sSQL, connection)
Dim ds As New DataSet()
DataGridView_Unpaid_Invoices.DataSource = ds
DataGridView_Unpaid_Invoices.DataMember = "Outstanding_table"
Me.DataGridView_Unpaid_Invoices.Columns.Insert(0, New DataGridViewCheckBoxColumn)