My application contains a "config" file that contains a set of database connection strings. In my application, I loop through all of those databases, connect using the connection strings stored in the "config" file and perform certain actions.
I need a way to prompt the user to define an unlimited number of connection strings that will then be written out to the "config" file. I can create a custom UI for that will prompt the user for the ServerName, DBName, UID and PWD, but I don't know where to go from here. Ideally, I would like to display each connection string defined in a table or listbox so that the user can see what they defined and what is still remaining. This is where I'm lost. If it was just one connection string, I would store those four values in properties and they edit the "config" file with those values. If someone has any ideas I would appreciate any assistance with the following: 1. Where can I store the information as the user enters each connection string? 2. How should I display the list of connection strings defined on the UI? 3. Is there a way that I can utilize the "XMLFile" element dynamically to insert each connection string by looping through the list of connection strings or will I need a custom action to perform this step? Thanks for your help. -- View this message in context: http://www.nabble.com/Prompting-for-multiple-db-connections-tf2309295.html#a6420223 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users