| Author: Dinesh Kumar Gaur 21 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
use this code to resize the image
using System.Collections; using System.IO; using System.Web;
public class ListFiles { public static ICollection ListUploadDirectory() { DirectoryInfo d = new DirectoryInfo(System.Web.HttpContext.Current.Server.MapPath("~/Upload"));//Folder from where you want to retrieve files return d.GetFileSystemInfos("*.jpg");//type of files which you want to retrieve }
}
Don't forget to rate the response
join this campus group http://www.dotnetspider.com/sites/637/-ecb-aspdotnet.aspx lovely pics...
|