>>Hi everybody,
>>
>>I can not understand why do I have NULL reference exception on this line
>>
>>
>>Decimal bookingNo = 4000001;
>> BookingRow bRow = bookings.GetBookingRow(bookingNo);
>>
>
>bookings is null I expect - put a breakpoint and use the debugger
>
:)
Yea, I put the breakpoint, but it never occurred to me that it was bookings that was null. I was wondering that something is wrong with the method or new class...
Thanks.
If it's not broken, fix it until it is.
My Blog