How to resolve odbc sql connetion uid and password?

csharp , window , odbc , sql native client connetion India
  • 11 years ago

    Hi, Everybody

    I have used sql native client for odbc sql connection, for that I have created a dsn where I have supplied uid and password, I want once I supply uid and pwd then there should not be necessary to supply uid and pwd in C# code when we write odbc sql connection string. Actually when we supply only dsn then it should not ask for uid and pwd. But it is asking each and every time. How can I resolve it?

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perl - The only language that looks the same before and after RSA encryption.” - Keith Bostic