我正在尝试以断开连接的方式写入内容以从服务器加载数据,但是它根本不起作用...我试图在Sellers表中选择所有电子邮件并将其添加到comboBox中,以便在其中我缺少什么步骤?
string cmdstr = "select seller_email from seller";
adapter = new OracleDataAdapter(cmdstr, constr);
ds = new DataSet();
adapter.Fill(ds);
dataGridView1.DataSource = ds.Tables[0];
Seller_email_update_comboBox.Items.Add(ds.Tables[0]);