switch ~~ case用法
switch(xa.Name.ToUpper())
{
case "DATABASE":
ConnString = xa.Value;
break;
case "HLDATABASE":
HLConnString = xa.Value;
break;
default:
break;
}
{
case "DATABASE":
ConnString = xa.Value;
break;
case "HLDATABASE":
HLConnString = xa.Value;
break;
default:
break;
}