Click here to Skip to main content
15,904,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I wanna as something,

How do I show PopUp window with ASP.Net when new data received in my database (MySQL). In my page, I set it to refresh every 5 seconds.
How do I do that?

Many thanks

Update : If anyone know how to do better to notify me when new data added, please tell me. (The notify should consist the value data added)
Posted
Updated 10-May-12 17:12pm
v2
Comments
Sandeep Mewara 10-May-12 23:03pm    
Page refresh every 5 sec & a popup every new update - I will get irritated!
satrio_budidharmawan 10-May-12 23:11pm    
Is there any better ways to notify me directly when new data added(including show me what's inserted)?
[no name] 10-May-12 23:48pm    
What you tried to solve this problem?

 
Share this answer
 
Comments
satrio_budidharmawan 10-May-12 23:56pm    
I don't think it will works with MySQL
you need to add this namespace in your code:

System.Windows.Form;
// it will include all the controls of form app in your asp. net app.

now when you click on Add Data(whatever name you've taken), write this code below your code:

C#
MessageBox.Show(here your value var+" added succesfully");

Hope this will help you. Thanks
 
Share this answer
 
v2
Comments
[no name] 11-May-12 0:28am    
what you've edited here, meber60?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900