Remove/restore columns in datagrid

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
 
E

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top