Syst em. InvalidCastException

All your dOOdad needs ...

Syst em. InvalidCastException

Postby rlw on Thu Apr 05, 2007 3:49 pm

I get the following error when creating an new object in dooDads.

'((BizEntity._Image1)(img)).ImageID' threw an exception of type 'System.InvalidCastException'

The code is as follows;
Image1 img = new Image1();
img.AddNew();

The exception occurs after the first line. Any ideas???

rlw
rlw
Private First Class
 
Posts: 11
Joined: Thu May 04, 2006 3:28 pm

Return to dOOdads - MyGeneration's .NET Architecture

Who is online

Users browsing this forum: No registered users and 1 guest

cron