Posts by Alexandre F. Malavasi Cardoso • 11 points
1 post
-
1
votes2
answers618
viewsA: Sending model along with uploading files
I don’t know the version you are using of Asp.Net, but try to get the file by request: if (Request.Files.Count > 0) { if (!String.IsNullOrEmpty(Request.Files[0].FileName)) { //ROTINA PARA VALIDAR…