private void LoadtoComboBox(String strCmd, String schema, ComboBox comboBox) { JObject jObject = connector.GetJObjectSelectSQLWithUrl(baseUrl, strCmd); if (jObject == null) { return; } var groupNames = from p in jObject["data"] select(string) p[schema]; comboBox.Items.Clear(); foreach (var item in groupNames) { comboBox.Items.Add(item); } }