protected void Page_Load(object sender, EventArgs e) { Log.Logger log = new Log.Logger("HOO.WebClient", this.GetType()); log.Entry.MethodName = "Page_Load"; log.Entry.StepName = "Log started."; log.Debug("Another log online message."); IHOOService Channel = BackServiceHelper.ConnectToBackService(); log.Entry.StepName = "Loading Universes from DB."; try { var allUniverses = Channel.GetAllUniverses(); gvUniverses.DataSource = allUniverses; gvUniverses.DataBind(); } catch (Exception ex) { log.Error(ex); } /* MySqlDBHelper dh = new MySqlDBHelper(SensitiveData.ConnectionString); DBCommandResult res = dh.GetAllUniverses (); if (res.ResultCode == 0) { gvUniverses.DataSource = res.Tag; gvUniverses.DataBind (); } */ }