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
Post a Comment