asifbhura
06-01-2006, 07:35 AM
Hi everyone
I am facing this error. I want to display this error as msgbox
Please help me
System.InvalidCastException: Object cannot be cast from DBNull to other types.
i want this error as msgbox or on particular page
i tried like
try
{
some code here i m facing error
}
catch(Exception ex)
{
ex.Message;
}
but it doesnt work. i want
regards,
ASIF
I am facing this error. I want to display this error as msgbox
Please help me
System.InvalidCastException: Object cannot be cast from DBNull to other types.
i want this error as msgbox or on particular page
i tried like
try
{
some code here i m facing error
}
catch(Exception ex)
{
ex.Message;
}
but it doesnt work. i want
regards,
ASIF