supp
m tryn to run this porject (using visual studio) to create html and xml documents usint "north wind" database. it should enable me to update and delete records from a selected table.
.
but wen m tryn to run it, it gives out da famous error at the followin function:
Public Function getTable(ByVal sql As String) As DataTable
getTable = New DataTable
'Try
With New OleDbDataAdapter(sql, cn)
.Fill(getTable)--------this where it gives out the error
End With
'Catch ex As Exception
'Throw New Exception(ex.Message)
'End Try
End Function
any ideas please