Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an ASP-capable website, Coding with VBExpress.


I am writing a BLOG site for multiple users with a single database for messages which are displayed in a GridView Control.

There are two items I am having trouble with.

(1). When user [x] inputs a message to the DB which updates his/her DataGrid. How do I update user {y},[z}..etc. DagaGrids on their Browsers?

(2). I am currently using a timer in the page to do the above but Having problems with multiple user timers and {Send Blog Button} inputs activity on the database.


Have you any suggestions for a neater and more solid process?

Thanks... Tom
Posted

1 solution

The easiest way is to make the user manually refsresh his page (auto refreshes annoy the hell outa me). When the user refreshes the page, it requeries the database, and Bob's your uncle.
 
Share this answer
 
Comments
Tom Moody 28-Dec-11 11:34am    
Have to agree it is much Easier than Sync-ing everything. May wind doing it that way.

Happy New Year
Thnx.. Tom
Espen Harlinn 30-Dec-11 9:18am    
5'ed!

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