Plain and simple, yet i have no idea how to do it..

Make a datagridview like you never used it.

Have you tried setting the "DataSource" property of the DataGridView to null?

tblAllEntries.DataSource = null;

That almost looked like it worked, but uhh, no..

Here is my tester program, so you can see what happens.

Put this into your "Clear" button's code:

dTable.Columns.Clear();  // Clears the column defs
    dTable.Clear();          // Clears the data

The dTable is what actually controls what the DataGridView displays. So, clearing this out corrects the issue.

Put this into your "Clear" button's code:

dTable.Columns.Clear();  // Clears the column defs
    dTable.Clear();          // Clears the data

The dTable is what actually controls what the DataGridView displays. So, clearing this out corrects the issue.

..... That.... That worked Perfectly....
Thank you mcriscolo

you are really a great help.

Thank you.

This question has already been answered. Start a new discussion instead.