ArrayList typecasting from binary SQL data

Discussion in 'ASP .Net' started by =?Utf-8?B?Smlt?=, Apr 11, 2005.

  1. Is there any way that you can insert an ArrayList into a SQL Server database
    as a binary object then retrieve that object and use it as and ArrayList. If
    so, how would you do this?
     
    =?Utf-8?B?Smlt?=, Apr 11, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?Smlt?=

    Bruce Barker Guest

    assuming the objects in the arraylist are serialiable, use the
    BinaryForatter and a memory stream to convert the arraylist to a memory
    stream, and pass the stream (or byte array) to the database.

    -- bruce (sqlwork.com)


    "Jim" <> wrote in message
    news:D...
    > Is there any way that you can insert an ArrayList into a SQL Server
    > database
    > as a binary object then retrieve that object and use it as and ArrayList.
    > If
    > so, how would you do this?
     
    Bruce Barker, Apr 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saravanan Rathinavelu

    Iterate through ArrayList using an another ArrayList

    Saravanan Rathinavelu, Aug 16, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    2,771
    Natty Gur
    Aug 19, 2003
  2. Kaidi
    Replies:
    4
    Views:
    2,430
    Kaidi
    Jan 3, 2004
  3. Harry Zoroc
    Replies:
    1
    Views:
    963
    Gregory Vaughan
    Jul 12, 2004
  4. xz
    Replies:
    16
    Views:
    2,407
  5. Philipp
    Replies:
    6
    Views:
    940
    Arne Vajhøj
    May 28, 2008
Loading...

Share This Page