From: Mr. Arnold on

"Cal Who" wrote:

> In Design mode the code below shows:
> Error rendering control - dp1
> An unhandled exception has occurred.
> Object reference not set for an instance of an object.
> Likewise for tp1, dp2 and tp2
> The code appears to work OK but I would like to remove those notices when I
> look at it.
> Any suggestions?

I would suspect that one of your data values is a null value. A value cannot
be cast to an object like string, int, longm, etc if the value is null.

Your application is failing, and it's going on like nothing happened due to
the application not knowing that it failed.