Errors in OracleReader results

Ok, here's the problem: When i use System.Data.OracleClient, all data returns as it should, and everything is ok, but since it's outdated API i tried to move to Oracle.DataAccess dll file. And here comes the problem: I do the request, but since i get data back it's all corrupted, shown as "?" chars in VS. my connection string:

$"User Id={userCredits.DBLogin};Password={userCredits.DBPass};Persist Security Info=False;Data Source={server.Key}"

OracleCommand passes as it should without any errors, i didn't change it since changed DB driver.

Answers


Didn't get why that happend, but after i reworked my code to use OracleDataAdapter instead of OracleDataReader, everything work just fine.


Need Your Help

Error in ionic installation

node.js cordova ionic-framework npm

I am installing ionic via sudo npm install ionic -g

ASP.NET MVC C# Data Annotations: Compare two values

c# asp.net-mvc data-annotations

I am trying to create a data annotation for my MVC model to validate two dates. I have a start date and end date, the end date should be greater than the start date. I have managed to create an