I would like to know how can I set a Bitmap from a Image Web Control? The Image Web Control named is imgLoader
. I have tried
Bitmap bmp = new Bitmap(imgLoader);
However, the error stated that it:
Cannot convert from 'System.Web.UI.WebControls.Image' to 'System.Drawing.Image' and 'The best overloaded method match for 'System.Drawing.Bitmap.Bitmap(System.Drawing.Image') has some invalid arguments.'