Hi all..
I would like to know how to get the words from the notepad.
This is the case:
I have a lot of form with many ADODC. But all ADODC's connection string are connect to the same location, using the same password, same IP address... and now, to convenient the update job in the future (I mean when change the IP address), others can easily just edit in the notepad, not in the code. How do I do that?
My current code is:
Adodc1.Connecti onString = "Driver={My SQL ODBC 3.51 Driver};Server= data.domain.com ;Port=3306;Data base=myDataBase ;User=root;Pass word=1234;Optio n=3;
If in notepad, only write:
Driver={MySQL ODBC 3.51 Driver};Server= data.domain.com ;Port=3306;Data base=myDataBase ;User=root;Pass word=1234;Optio n=3;
Am I correct? Is this way work?
Thanks for your help..
I would like to know how to get the words from the notepad.
This is the case:
I have a lot of form with many ADODC. But all ADODC's connection string are connect to the same location, using the same password, same IP address... and now, to convenient the update job in the future (I mean when change the IP address), others can easily just edit in the notepad, not in the code. How do I do that?
My current code is:
Adodc1.Connecti onString = "Driver={My SQL ODBC 3.51 Driver};Server= data.domain.com ;Port=3306;Data base=myDataBase ;User=root;Pass word=1234;Optio n=3;
If in notepad, only write:
Driver={MySQL ODBC 3.51 Driver};Server= data.domain.com ;Port=3306;Data base=myDataBase ;User=root;Pass word=1234;Optio n=3;
Am I correct? Is this way work?
Thanks for your help..
Comment