Re: Using C# to insert blob into Oracle
From: Chris Fink (chris.fink_at_gmail.com)
Date: 03/15/05
- Next message: Chris Fink: "Oracle C# Output Parameter"
- Previous message: Marcos Stefanakopolus: "Re: strobe signal output"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Mar 2005 11:42:29 -0500
How do I convert a C# string into a byte array? Which class do I use, the
StreamReader, StringReader, etc? Any sample code is appreciated!
"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> wrote in
message news:eTasBpXKFHA.3336@TK2MSFTNGP10.phx.gbl...
> Chris,
>
> The provider for Oracle should represent the field as a byte array.
You
> should be able to assign a new byte array to this field in a data set, and
> then update the field through an ad-hoc query or stored procedure, just
like
> you would any other value in the database.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mvp@spam.guard.caspershouse.com
>
> "Chris Fink" <chris.fink@gmail.com> wrote in message
> news:OoGdgjXKFHA.3340@TK2MSFTNGP14.phx.gbl...
> >I have setup an Oracle table which contains a blob field. How do I
insert
> > data into this field using C# and ADO.net?
> >
> >
>
>
- Next message: Chris Fink: "Oracle C# Output Parameter"
- Previous message: Marcos Stefanakopolus: "Re: strobe signal output"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: Using C# to insert blob into Oracle"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|