From: Jorge S. <jh...@ne...> - 2002-10-22 04:18:53
|
Hi, I thing it would be a good idea to change the following code of the "set"ConnectionString from: switch(values[0]) { case "Database": db = values[1]; break; case "User": user = values[1]; break; .... } to switch(values[0].ToUpper()) { case "DATABASE": db = values[1]; break; case "USER": user = values[1]; break; .... } If I use SQLServer for instance the parameters names of the ConnectionString are not case sensitive. I think this way some casing typos could be avoid. what do you think? Bye Jorge Sousa |