Can you explain why I'm geting the following error message:
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
It occurs when i try to fill the adapter........
PublicFunction GetWorkEffortRatios() AsBoolean
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
It occurs when i try to fill the adapter........
PublicFunction GetWorkEffortRatios() AsBoolean
gstrSQL = "Select W.WorkEffortRequired, R.TypeName From ResourceType R LEFT JOIN WorkEffortRatios W where R.TypeID = W.ResourceTypeID"
If Connect(PET) Then
EndFunctiongoDataAdapter =
New OleDbDataAdapter(gstrSQL, gConn)
goDataSet = New DataSet("WERatio")
goDataAdapter.Fill(goDataSet, "WorkEfforts")
DisConnect()
GetWorkEffortRatios = True
ElsegoDataSet = New DataSet("WERatio")
goDataAdapter.Fill(goDataSet, "WorkEfforts")
DisConnect()
GetWorkEffortRatios = True
GetWorkEffortRatios =
False
EndIf