Image Types
-
Hi there. Can anyone help me. I need to convert System.Drawing.Image to System.web.UI.Webcontrol.Image so that i can display an foto in a imagebox. Thanks
I don't think there is anyway to implement. Although their names looks very similar. I think you should change a method to do this. Because one use Image Stream,another(WebControl.Image) use a ImageUrl. You've already got a System.Drawing.Image object,you can save it for a temporary file,then give the WebControl.Image instance correct path. Overload the Page's Render,after base.Render() then delete the temporary file. :-D Good luck!
:^):^):^):^):^):^):^):^):^):^):^):^) :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::^):^):^):^)▒▒〓▒〓▒▒ :^):rose::^):^):^):^)▒〓〓〓〓〓▒ :^):rose::rose::rose::rose::rose:▒▒〓▒〓▒▒ :^):^):^):^):^):^):^):^):^):^):^):^)