SameerKumar Posted December 2, 2003 Posted December 2, 2003 Hi Guys I'm newbie to this forum. But expect alot of help. This application which i'm talking about is multi-user realtime application. My problem is i've 6 grids in an asp.net page. Each grid having 3 columns and 30 rows. Users from each terminal is filling entries in these grids. These data is stored in SQL server. Now i want is without refreshing the page, all the user could see the changed fields by any of the other users. In nutshell, all terminals would be synchronized, showing same data. Some one told me that it is possible in ASP.Net that without refreshing the grid could get latest/updated records from database and for that we need to use Remoting. So i like to know would any of genius out there, help me on this asap. Thanks Quote
fadi Posted December 2, 2003 Posted December 2, 2003 well the datagrid population occurs at the server, so any change in data can be catched only at the server. so i think there is no way to do what u want to do frim the client side Quote
SameerKumar Posted December 2, 2003 Author Posted December 2, 2003 Hi First of all Thanks for your response. But sorry to differ with you on this. I heard from someone that this is posibble through Remoting Any ideas please? Quote
bri189a Posted December 2, 2003 Posted December 2, 2003 fadi is correct... you database lies on the server. The only way to get data from the server is to requery, this involves refreshing the page as the ASP.NET code can only execute on the server, not the client. Even a client based EXE program will still have to Requery the server to update it's dataset if it was to stay in real time syncronization would eat a lot of bandwidth. What this guy has told you would be magic as there is no physical way to get the same information onto several phyisically seperate locations without some sort of middle man (the server) doing the record keeping. If there is something you are trying to do that requires real time updating your going to either have to refresh the web page every second (which is a bad idea) or do some sort of Java like applet or do a desktop EXE, either of which will be communicating with the server in the background giving the appearance that the data is live and there in no refreshing going on but in actuality there is. Quote
Shirtster Posted December 2, 2003 Posted December 2, 2003 http://www.eggheadcafe.com/articles/20021006.asp demonstrates how to build a server-side timer component for refreshing forms, however I agree with bri189a here - this kind of scenario is not really suitable for a .NET web app and some kind of fat client approach would be the way to go. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.