Are you using VS.NET?
What language are you using?
Did you add
Import System.Data.SqlClient
to the top of your code?
Have you read any books or documentation on the subject? There are dozens of
them out there--I ought to know I wrote a couple of them...

Signature
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
> hi,
>
[quoted text clipped - 10 lines]
>
> ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet
News==----
> http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
> ---=
=---