S
Smile
Hi there,
I have a question, please give me some idea. Thanks in advance!
Solution1
|
|---DBLogic (class library)
| |
| |-dblogic (class) which defines ConnString, functions to create
DataTable by sqlstr
|
|
|---DBObjects (class library)
| |
| |-dbClients
| |
| |-dbEmployees.. etc
|
|
|---UI (main application/start project)
| |
| |-Forms and UI
| |-StartForm
my questions is, the ConnString is hard-coded in the DBLogic class, with
"server = xxx; database=xxxx; uid=sa; pwd=sapass", as said by the book i am
reading,
is it possible for me to read-in a text file with the UI\StartForm, and pass
those
information to dblogic class? and howto?
i am doing that way becuase i want to modify the sa password from time to
time, so
that all i have to change is the text file after change the sa's password.
Thanks again.
Smile
I have a question, please give me some idea. Thanks in advance!
Solution1
|
|---DBLogic (class library)
| |
| |-dblogic (class) which defines ConnString, functions to create
DataTable by sqlstr
|
|
|---DBObjects (class library)
| |
| |-dbClients
| |
| |-dbEmployees.. etc
|
|
|---UI (main application/start project)
| |
| |-Forms and UI
| |-StartForm
my questions is, the ConnString is hard-coded in the DBLogic class, with
"server = xxx; database=xxxx; uid=sa; pwd=sapass", as said by the book i am
reading,
is it possible for me to read-in a text file with the UI\StartForm, and pass
those
information to dblogic class? and howto?
i am doing that way becuase i want to modify the sa password from time to
time, so
that all i have to change is the text file after change the sa's password.
Thanks again.
Smile