Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm looking for something to replace SqlDependecy on Windows Mobile device, becouse compact framework dosen't support SqlDependency. I need monitoring database changes from mobile device. Is any way to sql server notify my device about any data change? Anybody help?
Posted
Comments
Nyarost 16-Aug-10 8:28am    
I don't think it is possible to make SQL server notify something on changes. Are you sure you need this? What if your database changes very frequently? You can make some kind of script that checks database in every XXX minutes and sends you notification if changes appeared.
kukis99 16-Aug-10 9:20am    
Yes, i need... This database doesn't change so frequently... Could you paste example of this script for me? Thanks.
Nyarost 16-Aug-10 9:40am    
What kind of database are you using? I am capable to write something in PHP or Bash for linux and mysql. You can store some kind of a revision in table, change it when database changes and check it. Instead of script you can use daemon programm.
kukis99 16-Aug-10 10:18am    
I use Sql-server...

1 solution

You can use email triggers, if your mobile device supports receiving email.

Here's an article on the subject.

These are pretty easy to set up once you've worked through it once or twice.

Cheers.
 
Share this answer
 

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