我使用c#作为编程语言,MySQL作为DBMS构建了一个windows表单应用程序,当用户单击它时,我想添加一个导出数据库的按钮。到目前为止,我创造的是:
MySqlCommand cmd = new MySqlCommand("SELECT * FROM client INTO OUTFILE '"+path+"' FIELDSTERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY
public void readDataBase() throws Exception { // This will load the MySQLdriver, each DB has its own driver // Setupthe connection with the DB
connect = Dri