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.
------------------------------
[quoted text, click to view] "giannis" <zzzinobios@freemail.gr> wrote in message
news:ua$Bjk%23THHA.4028@TK2MSFTNGP04.phx.gbl...
> Tiago Salgado wrote:
>> You need something like this:
>>
>> Dim da as SqlDataAdapter
>
> I receive the error "Type SqlDataAdapter is not defined "
>