Hi,
I think the problem is that you can't cast a ColumnHeader to a ColHeader, because the other away around would always be possible.
How are you creating the items in the Columns collection? I suspect you are probably using the Add overload that implicitly creates the ColumnHeader. Try explicitly creating ColHeaders, and adding those.
Regards,
Nick.
No comments:
Post a Comment