M
Mark Allison
Hi there,
I'm still very much a newbie to C#, and would like to derive from
TreeNode to extend the TreeNode class. Here's test program:
http://www.vkarlsen.no/pastebin/default.asp?id=4090
I get an error on line 0077 saying:
"An unhandled exception of type 'System.InvalidCastException' occurred
in inheritance.exe
Additional information: Specified cast is not valid."
Please help, thanks.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
I'm still very much a newbie to C#, and would like to derive from
TreeNode to extend the TreeNode class. Here's test program:
http://www.vkarlsen.no/pastebin/default.asp?id=4090
I get an error on line 0077 saying:
"An unhandled exception of type 'System.InvalidCastException' occurred
in inheritance.exe
Additional information: Specified cast is not valid."
Please help, thanks.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html