Solved

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

Posted on 2012-03-16
4
994 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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