Hi Mike,
You should add a reference to the System.Data assembly, that holds the System.Data namespace, including System.Data.SqlClient. Once you added the reference, use
Import System.Data.SqlClient
for a
VB.NET project or
using System.Data.SqlClient;
for a C# project.
The Import / Using statement makes the SqlClient namespace (located in the System.Data assembly) available to your code.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Drunken Butterfly by
Sonic Youth (Track 4 from the album:
Dirty)
What's This?