protected void SetDevelopmentInfo(User user) { DatabaseInfo di = null; string sFormat = "{1} ({0})"; List <string> conns = new List <string>(); di = ConnectionsMgr.GetOCConnInfo(user); conns.Add(string.Format(sFormat, di.Port, di.Id)); di = ConnectionsMgr.GetNPConnInfo(user); conns.Add(string.Format(sFormat, di.Port, di.Id)); di = ConnectionsMgr.GetSHConnInfo(user); conns.Add(string.Format(sFormat, di.Port, di.Id)); di = ConnectionsMgr.GetSLConnInfo(user); conns.Add(string.Format(sFormat, di.Port, di.Id)); lblDeNotice.Text = string.Format("Development Environment: {0}", string.Join(", ", conns)); divDeNotice.Visible = true; }