Fixed logic to display a menu of databases when {MENU} is the Initial Catalog in DBConnection.xml file
This commit is contained in:
parent
1aa10bf9cd
commit
15e744eb2c
@ -92,7 +92,8 @@ namespace VEPROMS.CSLA.Library
|
||||
// otherwise use the connection string as it is in the DBConnection.xml
|
||||
if (xn != null)
|
||||
{
|
||||
if (xn.InnerText.Contains("{MENU}") && SelectedDatabase != null && SelectedDatabase.Length > 0)
|
||||
//if (xn.InnerText.Contains("{MENU}") && SelectedDatabase != null && SelectedDatabase.Length > 0)
|
||||
if (xn.InnerText.Contains("{MENU}"))
|
||||
_VEPROMS_Connection = ChooseDatabase(xn.InnerText);
|
||||
else
|
||||
_VEPROMS_Connection = xn.InnerText;
|
||||
|
Loading…
x
Reference in New Issue
Block a user