?
Solved

convert oracle blob to C# strring

Posted on 2008-10-16
2
Medium Priority
?
1,131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 13

Accepted Solution

by:
crazyman earned 500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

770 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