c# - How to work continuously on other pages while executing stored proc in asp.net? -


I have a stored procedure that I need to execute with the asp.net button, 30 to execute it It takes more minutes.

So here I need to show a message like "Process", while execution and some links have been disabled. Once I have been able to show "Last processed data and time" and after the execution Need to enable the link.

Then in the "Process" phase we have to allow the user to access other pages in the site. How is this possible?

Please help me on this requirement. thank you in advanced.

Your main problem is a design that should stop the UI in any way for long. Perhaps you can be surrounded by the use of the flag, but I will seriously reconsider whether you want to disable anything , while this is going on. Ideally, the user will run it, forget about it, and eventually something will be returned by saying "this is done". Assuming that they also take care of it - 30 minutes is a long time.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -