html:
javascript:
C#:
var model_submit = new { glsort2 = Common.ObjectToInt(_context.Request["glsort2"]), content = Common.ObjectToString(_context.Request["content"]), channel = Common.ObjectToString(_context.Request["channel"]), Data = new List(), lng = Common.ObjectToString(_context.Request["lng"]), lat = Common.ObjectToString(_context.Request["lat"]) }; for (int i = 0; i < _context.Request.Files.Count; i++) { var file = _context.Request.Files[i]; var extension = Path.GetExtension(file.FileName).ToLower(); .... }