Hello every body... :)
Can some body tell me,
What the Best Way to get auto update form with dynamic database ?
sample,
i create some program that can show datagrid automatic update content when new data has been inserted into database.
what the best solution ? Timer or Threading ?
Thanks...
Loading

Mahesh ChandRank #1 · 393.3K reputationPosted May 29, 2011, 5:35 PM EDT
ClonecMr cool31 reputationPosted May 29, 2011, 7:25 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted May 30, 2011, 11:34 AM EDT
Also I think the answer depends on where the update is occuring. If it is the same program doing the update as the one that you need the UI to update for, then you might be able to modify the program such that ADO .Net and .Net in general updates the UI automatically. If the update is occuring outside the program, then it is possible for your program to get notification of database changes using triggers or something like that.
Sam HobbsRank #107 · 20.5K reputationPosted May 30, 2011, 12:19 PM EDT