Well basically I keep a null value returned code and I have the same issue in all 6 of my functions.
Here is the error code - Warning BC42105: Function 'GetTimesheet' doesn't return a value on all code paths
. A null reference exception could occur at run time when the result is used.
<System.ComponentModel.DataObjectMethodAttribute _
(System.ComponentModel.DataObjectMethodType.Select, True)> _
Public Function GetTimesheet() As dsTimesheet.TimesheetDataTable
Try
Return Adapter.GetTimesheetData()
Catch e As Exception
End Try
End Function