Question

how to select particular item from HttpFileCollection Object

  HttpFileCollection uploads = default(HttpFileCollection);
        uploads = HttpContext.Current.Request.Files;

I want to select some keys from uploads

No correct solution

OTHER TIPS

If I understand you need

    if (context != null)
            {
                if (context.Request.Files.Count > 0)
                {
                    var file0 = context.Request.Files[0];
 var file1 = context.Request.Files[1];
                }
            }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top