0
我已經成功地構建連接字符串,並能夠填充表數據時,數據庫是Access爲:填充數據表 - C#
DataTable results = new DataTable();
using (OleDbConnection thisConnection = new OleDbConnection(connectionname))
{
OleDbCommand cmd = new OleDbCommand("SELECT * from TABLE_A", thisConnection); //EDIT : change table name for Oracle
thisConnection.Open();
OleDbDataAdapter adapter = new OleDbDataAdapter(cmd);
adapter.Fill(results);
}
我是新來的Oracle雖然。有人可以提到在上面的Oracle數據庫代碼中做出什麼改變嗎?
是的,但如何? @ChrisCruz – user7157732