Quantcast
Channel: DataGridView & datasource will not clear - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by JohnG for DataGridView & datasource will not clear

The AllowUsersToAddRows is set to true as the default setting for the DataGridView and what you are seeing is the newly added row.

View Article



Answer by Fawzidi for DataGridView & datasource will not clear

i dont know why its not empty when you run the program ,but try to clear itfirst null the data source:this.dataGridView.DataSource = null;and after clear rowsthis.dataGridView.Rows.Clear();if you are...

View Article

Image may be NSFW.
Clik here to view.

DataGridView & datasource will not clear

I have a DataGridView that receives its information from a BindingList. When the program runs, the DGV should appear completely blank with no row data whatsoever. However, it instead creates a row with...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images