PC Review


Reply
Thread Tools Rate Thread

How to emulate dbconvert in ADO.NET

 
 
Lloyd Sheen
Guest
Posts: n/a
 
      20th May 2004
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to emulate EMS on XP Jacky Luk Windows XP General 2 30th Oct 2006 09:20 PM
WMI emulate Spy++? =?Utf-8?B?U2NvdHRDMTIz?= Windows XP WMI 0 2nd Jun 2006 08:07 PM
emulate tab key Starbuck Microsoft VB .NET 2 17th Feb 2006 09:55 AM
Emulate Nz Function Paul Microsoft VB .NET 4 20th Sep 2005 06:29 PM
How do I emulate APP.END from eVB? JamesL Microsoft Dot NET Compact Framework 2 22nd Apr 2005 08:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:33 PM.