Jacque Scott
asked on
c# Clearing Column Headers in a datagridview
I need to clear the header row in my datagridview. I have tried the following:
dgBilling.DataSource = null;
dgBilling.Rows.Clear();
dgBilling.Columns.Clear();
dgBilling.ColumnCount = 0;
It clears the rows but not the column headers.
Any other suggestions?
dgBilling.DataSource = null;
dgBilling.Rows.Clear();
dgBilling.Columns.Clear();
dgBilling.ColumnCount = 0;
It clears the rows but not the column headers.
Any other suggestions?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.