Rexxx
MIS
- Oct 16, 2001
- 47
Within my aspx file I need to code it to display a popup message (as opposed to using an html page message) to inform the user whether a certain record was successfully entered into an SQL database. As of now my sql stored procedure to add a record returns a value -1 if the record is unsuccessful that I could use in an if statement. I have used similar code to display a certain popup message upon button clicks such as this message on a delete record button click:
btndelcompany.Attributes.Add("onClick","javascript: return confirm('Are You Sure You Want to Delete this Record?')"
So I'm fairly certain it can be done but not sure how to setup. Can you help?
btndelcompany.Attributes.Add("onClick","javascript: return confirm('Are You Sure You Want to Delete this Record?')"
So I'm fairly certain it can be done but not sure how to setup. Can you help?