I'm developing a web application in MVC
with C#
.
I made a method that makes a select in my bank oracle and with the value returned I fill in a DataTable
.
But it returns an error when I run " dataAdapter.Fill(resultado)
" returning error:
OCI-22053: overflow error .
Does anyone know the reason for this error?
Follow method code:
public DataTable ResgataArquivos()
{
var resultado = new DataTable();
myConnection.ConectarBanco(modelLogin);
var query = "SELECT * FROM ARQUIVO";
var command = new OracleCommand(query, myConnection.connection);
var dataAdapter = new OracleDataAdapter(command);
dataAdapter.Fill(resultado);
myConnection.FecharConexaoBanco();
return resultado;
}