string to image

H

Hrcko

I have a string(nvarchar) in database where is a path for picture.
How to load picture with this path?

Hrcko
 
N

Nicholas Paldino [.NET/C# MVP]

Hrcko,

You can just pass that string to the static FromFile method on the Image
class and it will return an Image (which is really a Bitmap instance) back
to you.

Hope this helps.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

file path 2
return value from store procedure 3
sort string 10
fileName 2
release path 1
Is it any point to make these two event handler into one event handler 1
array byte to string 1
image 1

Top