Solved

convert oracle blob to C# strring

Posted on 2008-10-16
2
1,023 Views
Last Modified: 2013-12-14
Oracle database has records with a blob column, trying to convert blob to string in C# besides looping thru byte array and converting element to char and add to string
0
Comment
Question by:JESSEMORALES
2 Comments
 
LVL 13

Accepted Solution

by:
crazyman earned 125 total points
ID: 22735190
something like

Byte[] byteBLOBData = new Byte[0];
byteBLOBData = (Byte[])(row["your_column"]);
String s = System.Text.Encoding.UTF8.GetString(byteBLOBData);

0
 

Author Closing Comment

by:JESSEMORALES
ID: 31506913
much apperciated
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question