Posts by Rodrigo Silva • 38 points
3 posts
-
0
votes4
answers958
viewsA: Send form without close modal
Form <form id="formUpload" method="post" enctype="multipart/form-data"> <input type="text" name="nome" id="nome" /> <input type="file" name="file" id="file" /> <input type="tel"…
-
1
votes1
answer400
viewsQ: How to receive a form with file and form in controller ? C #
So I get the form: public JsonResult Import(**FormCollection** form) So I get the file: public JsonResult Import(**HttpPostedFileBase** file) $.ajax({ url: urlImport, method: 'post', data: new…
-
1
votes1
answer47
viewsA: How to make a column with always fixed data in a Datatable? MVC JS
public DataTable Export(BMContext perRequestInstance){ DataTable dt = new DataTable(); dt.Columns.Add("Rule"); return dt; } I think it might help.…