Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i'v datagridview and i'v created column checkbox for select and here my code it's work fine

private void addchkbox()
        {
            DataGridViewCheckBoxColumn col = new DataGridViewCheckBoxColumn();
            dataGridView6.Columns.Insert(4, col);
        }


how can i make also checkbox for my header of datagridview for check/uncheck all

What I have tried:

i'm trying to used header methods but all give me error
Posted
Updated 5-Mar-20 1:28am

 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900