asp.net mvc 3 - How to establish Asynchronous Process in MVC3? -
i using mvc3 , entity framework.
in project, have view , controller. view importing 1000 records excel database , works fine.
my requirement is, while inserting large rows of data database need indicate
status of importing rows , % of loading completed , need add background process( thread).. how achieve one? need on this.
view code:
@using (html.beginform("fimport", "import", formmethod.post, new { enctype = "multipart/form-data" })) { //here i'm inserting 1000 of records using table <input type="submit" value="start import" /></td> }
controller code:
[httppost] public actionresult fimport(formcollection collection) { }
how that?
Comments
Post a Comment