You can create a connection in your VSIDE 2003, use the serverExplorer tab,
and right click on Data Connection, select new connection, you will see a
dialog for creating connection. select your Provider, OleDb for ODBC
drivers, and the in the next dialog set connection string from Build button.
Here it will allow you to select your DSN.
Good Luck !
"vitagoni" <vi******@discussions.microsoft.com> wrote in message
news:85**********************************@microsof t.com...
Hi there,
I'm new in C#. But not in programming. I used to call odbc32.dll before,
so I was working with ODBC API commands.
Can you advice a way whichis better for using in VC2003 C#?
I'm trying to create an application which will automatically read DSN,
read data like table names, cols types in each table, and later build
DataSource/DataGrid objects which are adopted to the read data.
I use System.Data.Odbc namespace.
Thanks.