• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1038
  • Last Modified:

How to call javascript Confirm message box from aspx.cs page

I have a aspx page which imports some data from excel sheet to database.
we validate excel sheet data to database. If any excel sheet data mismatch from database then java script confirm message box should come to tell data mismatch from database, do you want to proceed. if yes then data is inserted to database and if users click no then data is ignored.

Example : if we have 4 columns in sheet like FirstName,LastName,CountryName,StateName
and imports to database then CountryName,StateName is matched from the database if the CountryName and StateName is matched from the database then data is imported to Users Table and if there is some problem in data matching from the database then confirm message box should appear and if the user click yes then data is inserted to the database and if the users click no then data is inserted to the database.
0
sachinjain_aspnet
Asked:
sachinjain_aspnet
  • 2
  • 2
1 Solution
 
Rose BabuSenior Team ManagerCommented:
0
 
Rose BabuSenior Team ManagerCommented:
any luck?
0
 
sachinjain_aspnetAuthor Commented:
It is working fine
0
 
sachinjain_aspnetAuthor Commented:
The solution is working fine .
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now