Convert to BLOB in C# RRS feed

  • Question

  • Hello.

    I want to go from point A to point B.

    A: Data in C#'s listview, like

    string filename_of_image, string description

    B: SQL-File containing blob information of the image and the description in plain text, like

    INSERT INTO BlobsTable(BlobValue, description) VALUES (0x234324234234253,'description');

    What would be the best route from A to B using C# 2010?

    What would be the best route back from B to A, ie. reading each line of a sql-file and converting the BlobValue to a byte-array to use with picturebox and assigning  string description the description?

    Wednesday, September 26, 2012 7:55 AM