I have a custom collection let's say
MyClass
{
prop Name;
prop Address;
prop isRequired;
}
MyCustomCollection : List<MyClass>
{
}
When I do
MyCustomCollection collection = new MyCustomCollection ();
datagridView.DataSource = collection;
The datagridview is populated with three columns Name, address , isRequired..
I want to hide isRequired property from the datagrid view how can i do that...
and also I want to use it as a property to check in another classes...