Baccarin
11/24/2002 8:10:00 PM
Hello Steven,
I had a similar problem, the solution was to do something like this (for
example in an attribution):
sRet = (rd[0] is DBNull ? "" : rd.GetString(0));
I hope that helps you.
Baccarin.
"Steven" <sfuentes@helvetia-pr.com> escreveu na mensagem
news:10af601c2923a$67f800a0$89f82ecf@TK2MSFTNGXA01...
> In a development environment I can access a MS Access
> database successfully. When I deploy the proyect to our
> web server, in an SSL environment, for some reason I
> getting an "Object cannot be cast from DBNull to other
> types" error. If anyone has seen this before and can help
> me out I'd really appreciate it.
>
> TIA
> Steven