For Each to loop over HttpFileCollection Files
Recently I was working with file uploads in .NET and found that theres no clean way to loop over each uploaded file. Here is a extension method for easily looping through the list and it allows filtering by field name and applying Regex to the file name.
No comments:
Post a Comment