Hi Rajesh,
Your really not making sense so this is the last post i will try since i
cant help. Amazed the option of 'maybe i am not being clear' hasn't occurred
just that i am getting it wrong. Perhaps coder arrogance is why you can't
solve a very simple problem?
You want to write the width and height of your image when loaded from a sql
server db underneath the image.
So you have a picture and underneath its dimensions.
Now when i said you want to retrieve the image width/height i just didnt add
that you want to write them out to the screen ( i assumed this would be
obvious once you had it).
Anyway use the code i gave before and get the image from your sql server db,
load it from there into the image class.
Then use that class to give you the width and height then Response.Write it
out to the page under the image. That will give you an image and underneath
it the dimensions printed.
I am using the code behind. If you dont want to then go javascript way as
the other person posted and do it client side.
--
Dan
"Rajesh" <bh***************@tenth-planet.com> wrote in message
news:eY**************@TK2MSFTNGP10.phx.gbl...
Hi all,
Im gonna display a list of images in an aspx page from sql server Db.Each
image has a link.When someone clicks the image i want the width and size
of
the image to be displayed at the bottom of the image without any coding at
code-behind because the resulting page will display only the image.
Rajesh