数据表应该向我发送以下数据(Comptecommuniétaire),但它会将我发回给我(Comptessocié\ u0082taire),我在代码中错过了哪些格式正确?
Req = "select lib as libel from mvt order by lib";
OracleCommand command = new OracleCommand(Req, myOracleConnection);
OracleDataReader da = command.ExecuteReader();
DataTable dataTable = new DataTable();
dataTable.Load(da);
dataTable.Locale = CultureInfo.CurrentCulture;
if (dataTable != null && dataTable.Rows.Count > 0)
{
foreach (DataRow row in dataTable.Rows)
{
foreach (var item in row.ItemArray)
{
myCollection.Add(item.ToString());
}
}
return myCollection;
}