Click here to Skip to main content
12,072,640 members (62,529 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET
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 28-Dec-11 5:42am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web03 | 2.8.160208.1 | Last Updated 28 Dec 2011
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100