OdbcConnection将汉字返回为“?”
OdbcConnection
da.Fill(t)
OdbcCommand cmd = new OdbcCommand(); cmd.CommandText = select; OdbcConnection SqlConn = new OdbcConnection("Driver={Oracle in instantclient_11_2};Dbq=Database;Uid=Username;pwd=password;"); DataTable t = new DataTable(); cmd.Connection = SqlConn; SqlConn.Open(); OdbcDataAdapter da = new OdbcDataAdapter(cmd); SqlConn.Close(); da.Fill(t); return t;
t