Solved

convert oracle blob to C# strring

Posted on 2008-10-16
2
925 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
Comment Utility
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
Comment Utility
much apperciated
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now