Hi All
I saw many code samples on the net that creates instances of web forms, yet I can't seem to do this in VS 2005. What I mean is:
If I have a web form called form1, why does the code:
form1 f = new form1();
give "The type or namespace name 'form1' could not be found (are you missing a using directive or an assembly reference?)"?
I initially needed this to pass data between pages (which I now do using cross page postback) but I would still like to know why this doesn't seem possible.
Kind regards
Conrad Pienaar
Start Free Trial