Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to let DataGridView ignore certain properties when bind to an IList object [closed]

Tags:

winforms

As title. I wondering if there is some attributes to control?

like image 576
user496949 Avatar asked Dec 03 '22 10:12

user496949


2 Answers

[System.ComponentModel.Browsable(false)]
like image 137
Juan Avatar answered Jun 16 '23 11:06

Juan


No, no attribute. You can delete columns after binding or set AutoGenColumns=false and only add specific columns.

like image 40
Henk Holterman Avatar answered Jun 16 '23 13:06

Henk Holterman