473,396 Members | 1,853 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,396 software developers and data experts.

Load Data from Web Services Incrementally?

My VB.NET application will call a remote Web Service function
that returns lots of data for reporting purpose.
The data is finally binding to a DataGrid. It does take time!

Is there any ways to load data from web services incrementally?
e.g, per DataRow? or per 10 DataRow? or Per DataTable? or others?

I just want to let user to view the data immediately after they are ready
although the data may not be complete while the data is still loading.

Thanks in advance.
Nov 21 '05 #1
1 1616
"The Fox" <be******@hotmail.com> wrote in message
news:e9**************@TK2MSFTNGP10.phx.gbl...
My VB.NET application will call a remote Web Service function
that returns lots of data for reporting purpose.
The data is finally binding to a DataGrid. It does take time!

Is there any ways to load data from web services incrementally?
e.g, per DataRow? or per 10 DataRow? or Per DataTable? or others?

I just want to let user to view the data immediately after they are ready
although the data may not be complete while the data is still loading.

Thanks in advance.


The Web Services infrastructure has no built-in support for loading data
incrementally, you'll have to implement it yourself.

One way to do this would be to have your web method to return e.g., N
DataRows per call. Add another parameter to the web method that indicates
which 'page' is being returned. In the client application you can fetch the
first N DataRows synchronously and show them as soon as the call returns.
Then continue fetching data asynchronously in the background page by page
until you have it all.

Regards,
Sami
Nov 21 '05 #2

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

Similar topics

7
by: Eric.Jones | last post by:
I've encountered a strange error with loading delimited files from a Samba (SMB) network drive, has anyone else seen this before? (Platform: WinXP Pro, UDB PE 8015, level 02060106, SAMPLE db) ...
0
by: Peter | last post by:
When I issue call sqlj.install_jar('file:///f:/jars/mail.jar','MAIL'); I get the messages SQL4301N Java or .NET interpreter startup or communication failed, reason
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
2
by: John Alesse | last post by:
Hi, I've created a very simple winforms control using the c# wizard in VS .net 2003 that is nothing but a System.Windows.Forms.UserControl. There are no other controls on the form It takes IE 12...
7
by: P. Adhia | last post by:
Sorry for quoting an old post and probably I am reading out of context so my concern is unfounded. But I would appreciate if I can get someone or Serge to confirm. Also unlike the question asked in...
6
by: c676228 | last post by:
Hi everyone, I never used global.asa. I am thinking of load some data in application_onstart which is read only from database(I mean the data will never be changed in any asp pages of the...
4
by: gwise | last post by:
I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server, but I keep getting the following error in my db2diag.log. Funny thing, the file is actually in /usr/lib. For some reason DB2...
0
by: =?Utf-8?B?TGFzdGJ1aWxkZXJz?= | last post by:
Hi all, I have a weird problem which has been causing me a headache for the last two days. I have to dynamicly generate a schema in memory and load it into a dataset in memory to be returned...
0
by: Gina G | last post by:
I have to log Regular services that occur as required but not more than 31 days later than the previous. Additionally a major service must occur within 6 months of the previous major service. A...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.