0
我尝试使用以下来访问本地主机上的目录,但错误显示路径格式不受支持。路径格式错误
string fileName=ImageName.ToString() + ".Jpeg";
bmp.Save(System.IO.Path.Combine("localhost:59657/ProfileTenModified/setP/", fileName), System.Drawing.Imaging.ImageFormat.Jpeg);
任何解决方案???
你不需要使用'Server.MapPath' ..吗? – MethodMan 2013-04-04 16:28:26
什么类型的对象是“bmp”? – jadarnel27 2013-04-04 16:28:43