473,668 Members | 2,654 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1622
"The Fox" <be******@hotma il.com> wrote in message
news:e9******** ******@TK2MSFTN GP10.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
19620
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) db2 load from M:\org1.del of del replace into org SQL3109N The utility is beginning to load data from file "M:\org1.del". SQL2036N The path for the file or device "M:\org1.del" is not valid. db2diag.log:
0
4407
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
3121
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 useful utils that more pages on that server can use. As an example, I have created a Page Counter class that opens an Access .mdb file, counts the current entries for that page, and adds a new entry with some information regarding the current...
2
2067
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 seconds to load this control into the page. CPU usage is at only 1% to 2% during the 12 sec All of this is on a single machine XP Pro sp1 (all critical updates loaded) 2.6GHz, P4, 512MB ra IE v6.0.2800.1106.xpsp2.030422-1633 IIS 5.1 ..net...
7
6552
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 the post below, my question involves non-partitioned table loads. I want to know if, in general, loading from cursor is slower than loading from a file? I was thinking cursor would normally be faster, because of DB2's superior buffer/prefetch...
6
3149
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 applcation) and so any session for this application doesn't need to reload data from database again, reduce database connection and procedure call. Am I right? just doesn't see that kind of comments on-line. I want to make sure this is the right concept...
4
7991
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 can't find it. I read some other posts where people said that you have to make sure you have the 64-bit version of LIBAIO and at first, we didn't -- but then we found the 64-bit package and reinstalled it and we still have the problem. We're...
0
2031
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 for further use. To create the schema I am using the XMLSchema classes and the result is the
0
1251
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 major service also includes all the items in the regular service. Sample data below DateReg Day DateMajor DM 01/01/07 01/07/07 25/01/07 24 25/02/07 31 27/03/07 30
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8893
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8797
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7401
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2791
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.