Where to put a SQL Server connection string is a little more tricky in .NET.
In a web app, I would recommend placing it in the web.config. In a windows
app, add an application config and putting it there is good.
If you're using an OLEDB source, you still have the data link as an option.
You do not have this option if you are using the SQLClient namespace.
In terms of using the connections, there's so many options now... I
recommend checking out the MSDN data design pattern.
--
Justin Weinberg
Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at
www.mrgsoft.com
"José Araujo" <(E-Mail Removed)> wrote in message
news:%23O%(E-Mail Removed)...
> Hi,
>
> Data Environment no longer exist in VB.NET, however, I am trying to
> accomplish what they provided in VB 6.0.
>
> It was a good way of having all the connection related information
> centralized in one point in the program.
>
> I was wondering if somebody could point me to the appropiate
documentation,
> or give a brief introduction in the subject.
>
> Thanks,
> José Araujo.
>
> PS: i posted the question in this forum, if somebody think that there is a
> better place to post it just let me know.
>
>