GRose
Posts: 5
|
| Posted: 04/11/2005, 5:12 AM |
|
Hi, does anybody know if its possible to build a class DBconnection connection on the 'fly' so to speak?.
I know this is against the model but I have a case where providing the user with a form where the user can build a connection and then use that connection would be helpful.
thanks
|
 |
 |
Oper
Posts: 1195
|
| Posted: 04/11/2005, 8:26 AM |
|
what do you mean by on the fly?
user writing his own SQL statement?
scary unless i miss something.
explain a bit more please.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
Nicole
Posts: 586
|
| Posted: 04/12/2005, 2:06 AM |
|
Hello,
To preserver CCS code model partly you can create a fake database connection. Then replace its connection string with the one based on user’s data:
DB<connection_name>.ConnectionString ="“new connection string"
_________________
Regards,
Nicole |
 |
 |
|