G
Guest
I have Users table in my database which stores usernames, passwords and other
information about users. When starting the application the user logs in
providing username and password.
This is why I want the connection string (including database username and
password) to be stored somewhere in code and not in application settings.
Only the program should "know" database username and password.
The database is accessed using both table adapters and command objects.
Which is the best place to store the connection string? How to specify this
connection string in existing table adapters?
information about users. When starting the application the user logs in
providing username and password.
This is why I want the connection string (including database username and
password) to be stored somewhere in code and not in application settings.
Only the program should "know" database username and password.
The database is accessed using both table adapters and command objects.
Which is the best place to store the connection string? How to specify this
connection string in existing table adapters?