Last post Jul 04, 2018 12:47 AM by rtaVix
Jun 14, 2018 06:56 PM|rtaVix|LINK
Eu não sou capaz de ler os valores retornados do banco de dados Oracle.
Este é o meu método GetCodProcInter:
Jun 15, 2018 03:26 AM|PaulTheSmith|LINK
This question seems to have nothing to do with either ASP.NET or C# - you may be better off finding some Oracle programming forum ...
However, … your SQL query uses the count expression and so does not produce a recordset as a result. From the dusty corners of my memory I seem to recall that you need to create a command and do a cmd.ExecuteScalar() to get the result in this sort of
situation. But it is a very, very long time since I have looked at ADO.Net code.
BTW - this sort of thing is much easier with Entity Framework or even LinqToSql. You might want to investigate updating your database access method.
Jul 04, 2018 12:47 AM|rtaVix|LINK
Hi PaulTheSmith, I followed your guidelines and it worked, your tip also helped a lot. A big hug!