M
MattB
Hi. I have an asp.net 1.1 application that I need to retrieve a jpeg
image from a database and write that to the local (not client's) file
system.
What I'm doing is a club login page, and each club can have a logo
stored in the sql database. In the past I have streamed an image
directly to the browser, but this time I want to write it as a jpg file
to the local (to the application) file system. The reason being that
this will be reloaded a number of times and I want to cache it so it
doesn't need to be retrieved from the database every time someone visits
the page.
Can anyone give me any hints? Currently, I'm converting the image data
to a bit array. How do I save that array to a file? Thanks!
Matt
image from a database and write that to the local (not client's) file
system.
What I'm doing is a club login page, and each club can have a logo
stored in the sql database. In the past I have streamed an image
directly to the browser, but this time I want to write it as a jpg file
to the local (to the application) file system. The reason being that
this will be reloaded a number of times and I want to cache it so it
doesn't need to be retrieved from the database every time someone visits
the page.
Can anyone give me any hints? Currently, I'm converting the image data
to a bit array. How do I save that array to a file? Thanks!
Matt