473,804 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

data adapter fill method progress status

Is there any way to get into the internals of the data adapter fill method
such that I could know its progress status? For example, using the fill
method to load a 40,000 row table takes just a few seconds, but using the
fill method to load a 1.2 million row table takes more than a minute. I
would like to do the latter with a progressbar, but I first have to know the
progress of the fill method to do this - eg, what record is it up to etc,
and, more practically, can I replicate the loop so that I have a progressive
row count.

Tx for any help.

Bernie Yaeger
Nov 20 '05 #1
2 6789
I havent tried it Bernie, but the DataAdapter has a rowUpdated event, maybe
this could be used ?

Regards - OHM
Bernie Yaeger wrote:
Is there any way to get into the internals of the data adapter fill
method such that I could know its progress status? For example,
using the fill method to load a 40,000 row table takes just a few
seconds, but using the fill method to load a 1.2 million row table
takes more than a minute. I would like to do the latter with a
progressbar, but I first have to know the progress of the fill method
to do this - eg, what record is it up to etc, and, more practically,
can I replicate the loop so that I have a progressive row count.

Tx for any help.

Bernie Yaeger

Nov 20 '05 #2
Hi OHM,

Yes, that works - tx so much!

Bernie
"One Handed Man" <Bo****@Duck.ne t> wrote in message
news:bq******** **@sparta.btint ernet.com...
I havent tried it Bernie, but the DataAdapter has a rowUpdated event, maybe this could be used ?

Regards - OHM
Bernie Yaeger wrote:
Is there any way to get into the internals of the data adapter fill
method such that I could know its progress status? For example,
using the fill method to load a 40,000 row table takes just a few
seconds, but using the fill method to load a 1.2 million row table
takes more than a minute. I would like to do the latter with a
progressbar, but I first have to know the progress of the fill method
to do this - eg, what record is it up to etc, and, more practically,
can I replicate the loop so that I have a progressive row count.

Tx for any help.

Bernie Yaeger


Nov 20 '05 #3

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

Similar topics

5
2519
by: pmud | last post by:
Hi, I need to display columns in a data grid based on 7 different queries. Now I have 32 questions: 1. Is it possble to have 1 single data adapter with 7 queries & 1 data set or do I need to have a separate data adapter & a separate data set for each select query? If thats possible then how?
12
2394
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that field... This grid displayes results based on users search.. public static int numberDiv; private void Page_Load(object sender, System.EventArgs e) {
16
1866
by: Elena | last post by:
I am trying to name the columns in my datagrid. In VB6 it was one line of code: Datagrid1.columns(0).caption = "Item" I cannot seem to get this to work... Below is the code I'm using in VB.NET. Yet, it's not naming the Column Header. strsql = "Select * from where item_identifier = " & Val(TextBox5.Text) & " order by action_current_status_date desc"
9
2068
by: Brad | last post by:
I have written some code to manipulate data/records in a MASTER (order header) and DETAIL (order details) tables. What I have written is too extensive to post but essentially trying to: 1. Assign to a datarow (dr1) the first record of the MASTER table 2. Assign to another datarow (dr2) the second record of the MASTER table 3. If dr1.field1 = dr2.field1, then proceed, otherwise do stop 4. Assign to a third datarow (dr3) the first record...
2
5210
by: simon | last post by:
I use my functions to create adapter and fill dataSet: funkcije.createAdapter("c_CPOSkupaj", False, myParams).Fill(ds, "brezReklam") If I use this function another time to fill dataSet with other table, I get an error message, like that the parameter already exists. The SqlParameter with ParameterName '@datumZ' is already contained by another SqlParameterCollection
6
3713
by: rcoco | last post by:
Hi, I have a datagrid that is ment to insert data. But when I run the form only the header appears. I would like some advise from you all and solve this problem I'm using visual studio 2003. My code looks like this: private void Fill() { DataTable table = new DataTable(); SqlDataAdapter adapter = new SqlDataAdapter("SELECT * from
6
8167
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql server mobile ce database. Until recently I was synching everything thru a com port serial cable. The devices would connect to the computer thru activesync and are able to acquire an internet connection. The sync for the program occurs thru a website...
0
1176
by: RSH | last post by:
I have a simple application that is filling a dataset, importing several rows, building an Insert Statement, then attempting to commit the changes. No exceptions are being raised but the data is never saving and I can't figure out why not. This is the method that fills the dataset: public void PopulateDataset(string strSql) {
6
2948
by: insirawali | last post by:
Hi all, I have this problem, i need to know is there a way i cn use the data adapter's update method in this scenario. i have 3 tables as below create table table1{ id1 int identity(1,1) Constraint pk_table1 Primary Key,
0
9711
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
9593
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
10595
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
9169
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
7633
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
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5668
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
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
3
3001
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.