Check loading in the database

I upload the xlsx file to the database using the free EPPlus library. This works fine, and the load is displayed in the database.
I want to check the upload status as " upload successfull " or " upload failed ".

Is there a way that does this?

I hope I was clear and sorry for my poor English

+4
source share
1 answer

It depends on how you upload the file. If this is not through ajax, you can redirect depending on success or failure.

 try { // Code to process upload Response.Redirect("/success.aspx"); } catch (Exception) { Response.Redirect("/failure.aspx"); } 
+2
source

All Articles