after saving a image in a folder at runtime how to get its height and width in asp.net.
i am writing this code:
string filesavepath = AppDomain.CurrentDomain.BaseDirectory + "\\admin\\fullimages\\";
System.Drawing.Imagefullsizeimg=System.Drawing.Image.FromFile("AppDomain.CurrentDomain.BaseDirectory" + filesavepath );
this code gives me following error:
System.NotSupportedException: The given path's format is not supported.
i m not able to understand where i m wrong
someone please help.