1
Answer

Getting the state of process in ASP.NET web application

alok kumar

alok kumar

7y
172
1
Hi Everyone,

I have a web page for importing excel sheet and create the items in DB. While creating I have to show the progress of item creation in a progress bar i.e. suppose a user imports sheet having 100 records and 10th record is inserting in to the DB. I have to refresh the status area of page after 2 second and show the following message and progress bar.

Processing 10 out of 100 record.

Also user can Cancel the import process any time. Please help me how will I get the following data:-
1. Which record is in process now?
2. On Cancel, how my import method will know that user has cancelled the import?

I am using MVC 5 in my web application.
 
Thanks in Advance,
Alok... 
Answers (1)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Please provide your relevant code, what it doing when user enters a value in column2 and press enter..
0
Chinna Netha

Chinna Netha

NA 261 68.3k 9y
this is windows application c#
0
Rajeesh Menoth

Rajeesh Menoth

NA 24.7k 629.6k 9y
Hi,
 
Check this reference :
 
https://msdn.microsoft.com/en-us/library/ms366709.aspx