Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

convert oracle blob to C# strring

Posted on 2008-10-16
2
Medium Priority
?
1,249 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 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

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

580 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