Solved

convert oracle blob to C# strring

Posted on 2008-10-16
2
1,075 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
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 connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

729 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