|
-
Sep 14th, 2020, 02:17 PM
#7
Re: DataGridViewCheckBoxColumn from SQL bit type
One option that you have is to do the following after the data is populated and the columns are automatically generated:
- Get the index of the Fly column in relation to the DataGridView's columns
- Create a new DataGridViewCheckBoxColumn using the same properties of the Fly column
- Specify the ThreeState property of the newly created DataGridViewCheckBoxColumn
- Remove the Fly column by its index
- Insert the newly created DataGridViewCheckBoxColumn at the same index where Fly was
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|