473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

DatGrid Data Updating

Whats the easiest way to update data being displayed in a datagrid from SQL
every 2-3 minutes. For instance, a user brings up a web page page that is
monitoring an alarm list stored in a SQL table. Some process creates a new
alarm into the table, this should be displayed in the datagrid by the system
without any user interaction.

I've tried using the Timer but with no luck. The timer event fires (can
watch it in debugger) but no updating of the web page occurs.

Steve
Nov 19 '05 #1
2 1000
Steve about if you try refreshing the page every 2-3 minutes.

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #2

In order to get the web page to update you need something in the
client's browser to go back to the server and refresh the content.

An easy way to do this is to use the META tag, ie:
<META HTTP-EQUIV="Refresh" CONTENT="20">

See:
http://www.knowdotnet.com/articles/asppagerefresh.html for more info.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sun, 01 May 2005 00:03:38 GMT, "Steve Wark"
<st*******@contra-soft.com> wrote:
Whats the easiest way to update data being displayed in a datagrid from SQL
every 2-3 minutes. For instance, a user brings up a web page page that is
monitoring an alarm list stored in a SQL table. Some process creates a new
alarm into the table, this should be displayed in the datagrid by the system
without any user interaction.

I've tried using the Timer but with no luck. The timer event fires (can
watch it in debugger) but no updating of the web page occurs.

Steve


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Andrew Robinson | last post by:
Is there any way to accomplish two way data binding in a Details View with a DataSet or DataTable as the DataSource. All I want is to get an updated DataSet or DataTable back from the...
34
by: Jeff | last post by:
For years I have been using VBA extensively for updating data to tables after processing. By this I mean if I had to do some intensive processing that resulted in data in temp tables, I would have...
1
by: Dave Hutchings | last post by:
Hi, My problem is this, I have a search screen which creates a query that performs a search on a large database. The results of this search could, if the user requires, return many many rows...
0
by: Iain | last post by:
Hi All I have a datagrid which takes it's data from a table on a remote i-series. This datagrid is loaded on Page Load and the user is able to select a record to edit by pressing the...
1
by: joy | last post by:
Hi. I have a datagrid which displays images in cells. User wants to download the grid data as excel file. Now, if datagrid contains only data, it is fine. But if it contains some images, images...
2
by: 1980dinesh | last post by:
Hi, I have a DatGrid and i have added a checkboxes as template column i have write javascipt code to check and unckeck but at button event of code behind i can't grab the (checked) true condition...
1
by: manvendra1981 | last post by:
hello... my problem --- i am able to display data in datagridview in c#.net 2.0 and we have taken button's in form ---- *delete *add *save when we press add button then new row show in...
1
by: SePp | last post by:
Hi all. I want to refresh a Datagrid from another form. (in C# ) For Example I have a Datagrid in that I want to edit data. The user has the ability to press a button to change these data. A...
0
by: Raghav | last post by:
Hi, I am retrieveing the data from 2 table (MAster Detail) to the winform and displaying on winform in a grid view.User should have an uption to update the rows.So There is a button Update wen...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.