I have a situation like this. Old app used dblib. New app SQLClient.
Mostly good. There are some returns that return byte arrays. In dblib we
used dbconvert to create a string from the value. Now how would I do this
with ADO.NET?
For string data I can use a UnicodeEncoding object to convert the bytes to a
readable string. For other data types though I have no idea other than
trying to reverse engineer what dbcovert is doing. This is most likely
simple for integer data but other datatypes might be difficult if not
impossible.
Any ideas??
Lloyd Sheen
|