[WebMethod]
        public bool UploadImage(string ymid, string filename, byte[] bitmap, out string message, NJXPB njxpb)
        {
            message = "";
            try
            {
                string path = ConfigurationManager.AppSettings["webpath1"].ToString();                path = Path.Combine(path, DateTime.Now.ToString("yyyy"));
                if (!Directory.Exists(path)) Directory.CreateDirectory(path);                path = Path.Combine(path, DateTime.Now.ToString("MM"));
                if (!Directory.Exists(path)) Directory.CreateDirectory(path);                path = Path.Combine(path, DateTime.Now.ToString("dd"));
                if (!Directory.Exists(path)) Directory.CreateDirectory(path);                path = Path.Combine(path, ymid);
                if (!Directory.Exists(path)) Directory.CreateDirectory(path);                MemoryStream stream = new MemoryStream(bitmap);
                Bitmap m = (Bitmap)Image.FromStream(stream);
                m.Save(Path.Combine(path, filename));            }
            catch (Exception ex)
            {
                ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
                log.Error(ex);
                message = "保存图片失败:" + ex.Message;
                return false;
            }目前,是通过以上代码,实现了单张图片上传那么,批量又该如何呢???
望高手帮帮忙、、、最好有实例!