Ah, there are more differences than similarities between ADO classic
(COM-based) and ADO.NET. I suggest that you assume that they are different
from the beginning--any similarities you find along the way will be a nice
surprise.
I discuss the (copious) differences between ADO classic and ADO.NET in my
book (ADO.NET Examples and Best Practices).
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
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.
__________________________________
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> So I guess what you're saying is, I can't just simply set the value of
> an SqlConnection's ConnectionString to the value of an
> Adodb.Connection's ConnectionString because they are built differently.
> The fact that an ArgumentException got thrown didn't really convey what
> the problem was.
>
> Thanks for the response though.
>
> I guess I will just use the old ADO connection for this project, until
> i write a new login prompt in C# using the SqlConnection.
>