Solved

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

Posted on 2012-03-16
4
988 Views
Last Modified: 2012-04-16
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
Comment
Question by:sachinjain_aspnet
  • 2
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Rose Babu
ID: 37728260
0
 
LVL 16

Expert Comment

by:Rose Babu
ID: 37756799
any luck?
0
 

Accepted Solution

by:
sachinjain_aspnet earned 0 total points
ID: 37836339
It is working fine
0
 

Author Closing Comment

by:sachinjain_aspnet
ID: 37850410
The solution is working fine .
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question