Save Image format with LongBLOB into MySQL using ASP .NET C#

Last post 05-09-2008 7:25 AM by mohsinaeem. 1 replies.

Sort Posts:

  • Save Image format with LongBLOB into MySQL using ASP .NET C#

    05-09-2008, 4:53 AM
    • Loading...
    • Jarizzard
    • Joined on 04-15-2008, 9:32 AM
    • Posts 3

    Hello,

    I developing the asp .net web application using c#. And now I got the error when i save the image to the mysql database.

    Actually it was saved to the database as binary array. In my database, I used longBlob data type for image. But when i saved to some place or retrieve and display in form, it was not in picture format and become unknown format. The output from database is also byte array. So please help me to solve that kind of problem.

     Thanks.

    ---------
    Jarizzard
  • Re: Save Image format with LongBLOB into MySQL using ASP .NET C#

    05-09-2008, 7:25 AM
    • Loading...
    • mohsinaeem
    • Joined on 05-08-2008, 3:41 AM
    • Lahore, Pakistan
    • Posts 13

    The following URL may help you:
    http://www.daniweb.com/forums/thread117872.html

    Mohsin Naeem
    MCPD
    eWorx International
Page 1 of 1 (2 items)