Tech Off Post

Single Post Permalink

View Thread: Convert ArrayList (of Objects) to DataSet
  • User profile image
    quango

    Have not tried it, but what about using

    ArrayList.ToArray(type)

    and serialising that? If type is set to the correct object in the arraylist it ought to work.

    If not, try casting it to an array and then serialising that:

    Ctype(ArrayList.ToArray(type), type())