Remove/restore columns in datagrid

  • Thread starter Thread starter Erik Cruz
  • Start date Start date
E

Erik Cruz

Hi.

I am working on a control derived from the datagrid control. I was able to
remove columns from the datagrid by removing them from the original
datatable, but could not find how to restore them. How can I give to my
control the capability tp restore removed columns?

TIA,
Erik Cruz
 
Hi Clay.

Thanks for the example. I was able to convert it to vb.net but didn't
understand one thing. The DataGridColumnStyle class is marked MustInherit in
vb.net and Abstract in C# so, I could not use dim var as new
DataGridColumnStyle in vb.net. It let me with a doubt. Isn't the framework
that defines if a class is MustInherit or not? Why does C# and vb.net
differs when working with this class?

TIA,
Erik Cruz
 
Back
Top