/// <summary> /// /// </summary> private void LoadDatabases() { DataTable dt = dbHelper.GetDatabases(); if (dt != null && dt.Rows.Count > 0) { this.cboxDatabases.Items.Clear(); foreach (DataRow r in dt.Rows) { this.cboxDatabases.Items.Add(r["Name"].ToString()); } } }