Michael you are a genius...
It worked perfect with a little hitch..
As per your advise, I imporeted System.web.httpcontext and changed my response to current.response.
Now for what's happening and the little bit code:
myImage = New Image
Controls.Add(myImage)
myImage.ImageURL = WriteGDI(passing Values)
function WriteGDI()
...............................
...............................
myBitMap.Save(memStream, ImageFormat.Png)
memStream.WriteTo(Current.Response.OutputStream)
End Function
What this is doing is replacing my page with the image itself. What can I do to just have the image change in the middle of the page.
Thanks a lot for take time to assist me.
Shrini