hi
i use this link for resizing image
http://tuvianblog.com/2011/07/07/how-to-create-thumbnail-image-in-asp-netc-or-resize-the-image-before-upload-in-asp-netc/
i wrote code but it make error for these line
using (var image = Image.FromStream(sourcePath))
CompositingQuality.HighQuality;
SmoothingMode.HighQuality;
InterpolationMode.HighQualityBicubic;
Error17The type or namespace name 'ArrayList' could not be found (are you missing a using directive or an assembly reference?)
Error22The name 'SmoothingMode' does not exist in the current context
Error 23 The name 'InterpolationMode' does not exist in the current context
Error 21 The name 'CompositingQuality' does not exist in the current context
Error 20 'System.Web.UI.WebControls.Image' does not contain a definition for 'FromStream'
Error19'Image' is an ambiguous reference between 'System.Web.UI.WebControls.Image' and 'System.Drawing.Image
i should add name space for them what should i add?
best regards
thanks