Groups > Databases > Oracle for ASP.NET > Re: DirectCast




DirectCast

DirectCast
Sun, 23 Mar 2008 01:44:08 +000
Hi,

I am using the below DirectCast function to a stored proc, and its returning me
the below ORA error. Please let me know how to resolve this issue. 

ORA-01403: no data found ORA-06512: at "PRJ_APP_PKG.PRJ_TEST_INCOME",
line 182 ORA-06512: at line 1 

            If IsDBNull(PROJECT_ODPHelper.GetParameterValue(aobjParam(0))) Then
                .GETIncome = Convert.ToDouble(String.Empty)
                Console.WriteLine(.GETIncome)
            Else
                .GetIncome =
DirectCast(PACSES_ODPHelper.GetParameterValue(aobjParam(0)), Double)
            End If


 

Regards.
Post Reply
Re: DirectCast
Mon, 24 Mar 2008 07:16:39 +000
first source code is not available. if possible plz provide the code.

As per the error with the given value there is no record in the corresponding
table. Plz check in the table.
Post Reply
about | contact