How to get "picturebox.Handle.ToInt32" value in Windows to image control Value in ASP.net C# -


i have windows form code , want use in asp.net. in program,i use image control instead of pixture box dont access handle method , dont know, equivalent of picturebox.handle value in windows image control.properties value in asp.net c#. pic_film picturebox.initcam method in mycam class. should write instead of "pic_film.handle.toint32" ?

  mycam.initcam(pic_film.handle.toint32) 

i tested following code had error :unable cast object of type 'system.web.ui.webcontrols.image'to type 'system.iconvertible'

 mycam.initcam(convert.toint32(page.findcontrol("pic_film"))); 


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -