如何从每30分钟更新一次的html页面中检索新行 [英] how to retrieve new rows from an html page that gets updated every 30 minutes
问题描述
如何从每30分钟更新一次的html页面中检索新行
我有一个Winform应用程序,我创建了一个计时器,每30分钟从html页检索一次数据
如何获取新行?
数据格式是这样的
RType RNo HNo状态1状态2状态3状态4
aaa 1 1 1 1 123 asd
aaa 1 1 1 0 342 asdf
aaa 1 1 0 0 342 asdfj
aaa 1 1 1 1 123 asd
bbb 1 8 4 3 222 qqq
bbb 1 8 2 3 444 rrr
键是RType,RNo和Hno
我如何在数据库中创建两个临时表?
知道要放入第一张表和第二张表的状态的方法又是什么?
我第一次找回
我第二次找回
我第三次找回
我第四次检索到
在我开始比较两个表以获取新行之前
我不知道该怎么做
谢谢,
james
how to retrieve new rows from an html page that gets updated every 30 minutes
i have a winform application, i created a timer to retrieve data from the html page every 30 minutes
how do i get the new rows?
the data format is like this
RType RNo HNo Status1 Status2 Status3 Status4
aaa 1 1 1 1 123 asd
aaa 1 1 1 0 342 asdf
aaa 1 1 0 0 342 asdfj
aaa 1 1 1 1 123 asd
bbb 1 8 4 3 222 qqq
bbb 1 8 2 3 444 rrr
the keys are RType, RNo, and Hno
do i create two temporary tables in database?
what is also the way to know the state to put in the first table and second table?
the first time i retrieved
the second time i retrieved
the third time i retrieved
the fourth time i retrieved
before i start comparing two tables for new rows
i have no idea how to do this
thanks,
james
推荐答案
通常在客户端应用程序上使用合并,以将来自数据源的最新更改合并到现有的DataSet中.这允许客户端应用程序具有使用来自数据源的最新数据刷新了DataSet."
http://msdn.microsoft.com/en-us/library/fk68ew7b.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/4swwh51k.aspx [ ^ ]
"A merge is typically used on a client application to incorporate the latest changes from a data source into an existing DataSet. This allows the client application to have a refreshed DataSet with the latest data from the data source."
http://msdn.microsoft.com/en-us/library/fk68ew7b.aspx[^]
http://msdn.microsoft.com/en-us/library/4swwh51k.aspx[^]
这篇关于如何从每30分钟更新一次的html页面中检索新行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!