Be sure you have references set up correctly. You can import them at the
top of your routine.
Imports System.Data
Imports System.Data.SqlClient 'this is probably the one you're missing
Or double-click on "My Project", go to the "References" tab, and add them
there.
Robin S.
------------------------------
"giannis" <zz********@freemail.grwrote in message
news:ua****************@TK2MSFTNGP04.phx.gbl...
Tiago Salgado wrote:
>You need something like this:
Dim da as SqlDataAdapter
I receive the error "Type SqlDataAdapter is not defined "