The error message is referring to the fact that you don't have the
System.Data.SqlClient namespace imported at the top of your code file.
Right above the public class line, add this;
Imports System.Data.SqlClient
--
Gerry O'Brien MCT, MCDBA, MCSD
Visual Developer .NET MVP
"HS1" <so*@slingshot.co.nz> wrote in message
news:1096845689.550343@ftpsrv1...
Hello.
I declare a SqlDataAdapter in a FormLoad as below. However, there is error
claimed that the SqlDataAdapter is not defined.
Could you please tell me what to do
------------------
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim da1 As SqlDataAdapter