how to connect via dsn
-
:confused:in vb.net when we create connection string we want dsn name in the connection string i want connection via sqlserver please suggest me what connection string i write notify i don't want server name and database name in the connection string. please help me
-
:confused:in vb.net when we create connection string we want dsn name in the connection string i want connection via sqlserver please suggest me what connection string i write notify i don't want server name and database name in the connection string. please help me
I just looked at this last week. Ummmm....I think you have to use the OLEDB classes and the connection string would be something like
"Provider=MSDASQL;DSN=dsnname"
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome