Click here to Skip to main content
15,924,367 members
Home / Discussions / C#
   

C#

 
GeneralCustom shaped context menu with C# Pin
Member 143676023-Feb-05 21:16
Member 143676023-Feb-05 21:16 
Generalcoverting ushort to two Byte Pin
maheshfour23-Feb-05 20:37
maheshfour23-Feb-05 20:37 
GeneralRe: coverting ushort to two Byte Pin
Stefan Troschuetz23-Feb-05 21:16
Stefan Troschuetz23-Feb-05 21:16 
GeneralRe: coverting ushort to two Byte Pin
leppie23-Feb-05 21:17
leppie23-Feb-05 21:17 
GeneralRe: coverting ushort to two Byte Pin
exhaulted23-Feb-05 23:44
exhaulted23-Feb-05 23:44 
GeneralVSS Late Binding Pin
tlvranas23-Feb-05 20:30
tlvranas23-Feb-05 20:30 
Generalupload a directory Pin
Anonymous23-Feb-05 18:05
Anonymous23-Feb-05 18:05 
GeneralRe: upload a directory Pin
turbochimp24-Feb-05 12:22
turbochimp24-Feb-05 12:22 
I'm not sure I understand what you're trying to do completely, but it sounds like you're saying you want to store a directory's worth of files in Oracle. Is that correct?

If so, it should be pretty straightforward. You'll want to iterate over the files in the folder (and possibly recurse over any subfolders), then for each file you encounter, read it into a stream, then write the stream to BLOB data in Oracle using a command and parameter(s). For reference, you may want to read up on the System.IO.FileStream class, the managed Oracle data client types, etc.

This is a high level answer because the question was equally non-specific. If you have more detailed questions, I'll be happy to try to help. I've done some of this in the past.

Things you may want to consider are:
1. Is file size a concern?
2. Do you care what the file extension is?
3. How do you want to identify files in the data record (name only, source path and name, etc)?
4. Are file permissions an issue when reading files or extracting them from the database?

Hope this helps.


The most exciting phrase to hear in science, the one that heralds the most discoveries, is not 'Eureka!' ('I found it!') but 'That's funny...’

Generalcustom form designer Pin
ppp00123-Feb-05 17:55
ppp00123-Feb-05 17:55 
GeneralHaving trouble binding Checked property of radio button Pin
Newbie_T23-Feb-05 16:57
Newbie_T23-Feb-05 16:57 
GeneralRe: Having trouble binding Checked property of radio button Pin
Kodanda Pani23-Feb-05 18:42
Kodanda Pani23-Feb-05 18:42 
GeneralDynamic WSE Proxy Pin
menetas23-Feb-05 14:21
menetas23-Feb-05 14:21 
Generalbase keyword Pin
Anonymous23-Feb-05 13:39
Anonymous23-Feb-05 13:39 
GeneralRe: base keyword Pin
Christian Graus23-Feb-05 14:48
protectorChristian Graus23-Feb-05 14:48 
GeneralRe: base keyword Pin
Michael Dunn23-Feb-05 14:55
sitebuilderMichael Dunn23-Feb-05 14:55 
GeneralRe: base keyword Pin
Christian Graus23-Feb-05 17:19
protectorChristian Graus23-Feb-05 17:19 
GeneralRe: base keyword Pin
Judah Gabriel Himango24-Feb-05 3:54
sponsorJudah Gabriel Himango24-Feb-05 3:54 
GeneralRe: base keyword Pin
Christian Graus24-Feb-05 10:55
protectorChristian Graus24-Feb-05 10:55 
GeneralHere is my question: Pin
Yaakov Davis24-Feb-05 3:55
Yaakov Davis24-Feb-05 3:55 
GeneralRe: Here is my question: Pin
Michael Dunn24-Feb-05 6:05
sitebuilderMichael Dunn24-Feb-05 6:05 
GeneralRe: Here is my question: Pin
Yaakov Davis24-Feb-05 6:44
Yaakov Davis24-Feb-05 6:44 
QuestionHow to force freeing reserved memory? Pin
Qualen23-Feb-05 13:01
Qualen23-Feb-05 13:01 
AnswerRe: How to force freeing reserved memory? Pin
Qualen24-Feb-05 3:21
Qualen24-Feb-05 3:21 
GeneralRe: How to force freeing reserved memory? Pin
Rei Miyasaka25-Feb-05 12:02
Rei Miyasaka25-Feb-05 12:02 
AnswerRe: How to force freeing reserved memory? Pin
kaangonel26-Feb-05 22:34
kaangonel26-Feb-05 22:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.