Jump to content
  • Advertisement
Sign in to follow this  
Skibula

[.net] how to know when db is been updated ?

This topic is 3324 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey all... i want my winforms program to "know" when my database is added with new row... how can i know when the database is updated ? only way i thougt is to make a timer and check for number of rows in specfic time.. but i dont want that :-) there is a way the database can "tell " me when new row is added ? if i can have the row data as well that would be sweet...

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by benryves
Take a look at the DataTable events, specifically RowChanged.





im not sure thats what i need...

its not my program that update the db (or the datatable)

something else will update the db (other program)

my program its just to see the db in nice way .. (most if it just a datagridview)

so when some one else change the db (not the datatable ) i want to show msg on my program..


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!