473,509 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

link tableadapter.fill and progressbar using vb.net

nev
251 Contributor
i can't seem to find a clear answer on this one. i use the data designer on my program so all i have in my form load is the tableadapter.fill statement. now how do i link a progressbar to it?
Feb 5 '08 #1
8 5860
kenobewan
4,871 Recognized Expert Specialist
This site may help you:
AJAX : The Official Microsoft ASP.NET Site
Feb 5 '08 #2
nev
251 Contributor
This site may help you:
AJAX : The Official Microsoft ASP.NET Site
thank you sir, i'll visit the site at once.
Feb 6 '08 #3
nev
251 Contributor
This site may help you:
AJAX : The Official Microsoft ASP.NET Site
tried searching that site but no luck :-(
Feb 6 '08 #4
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
Use an update panel, and place your grid within that.
Also add a progress cont4rol (not sure what they exactly call it, and link it to that updatepanel) - this control is not like a progress bar, but just a general updating style of icon which would show the user a busy icon until it recieves the data from the server
Feb 6 '08 #5
nev
251 Contributor
Use an update panel, and place your grid within that.
Also add a progress cont4rol (not sure what they exactly call it, and link it to that updatepanel) - this control is not like a progress bar, but just a general updating style of icon which would show the user a busy icon until it recieves the data from the server
sorry about my unclear inquiry. here is what i really mean.

I have used the dataset designer for all my forms. It has generated code in my form load like these...

private sub form_load()
tableadapter.fill(dataset.datatable)
end sub

Using what I already have, I want to add a progress bar and show progress of that fill code. I have tried searching about this on the internet but no one around the globe can give a clear answer.
Feb 6 '08 #6
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
What do you exactly mean by show the progress of fill ?
Is it showing a percentage of what the fill method has retrieved as yet?

Im not sure if this could be achiveable, because your database backend will send all the records at once together, so you would have no way of finding out how much data has been filled.

However once the data is recieved and is loading you could have the progress bar updating, Not sure of that again, but this thread "data adapter fill method progress status" has answered someone
good luck
Feb 6 '08 #7
nev
251 Contributor
What do you exactly mean by show the progress of fill ?
Is it showing a percentage of what the fill method has retrieved as yet?

Im not sure if this could be achiveable, because your database backend will send all the records at once together, so you would have no way of finding out how much data has been filled.

However once the data is recieved and is loading you could have the progress bar updating, Not sure of that again, but this thread "data adapter fill method progress status" has answered someone
good luck
when he said dataadapter has a rowupdated event, does he mean tableadapter? because i checked my tableadapter events it only has the disposed event.
Feb 6 '08 #8
nev
251 Contributor
before i the adapter tries to fill the datatable, i would like to count the number of records. i think i can look at the adapter. there's something about the executescalar() method that i think i can use.
Feb 6 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6773
by: Bernie Yaeger | last post by:
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...
0
4045
by: dbuchanan | last post by:
Hello, I have added a query to my TableAdapter that accepts a parameter (The ID) to filter the data. It will return only one record. I tested it in the designer and it returns one record as...
5
7535
by: Programatix | last post by:
Hi, Have anyone ever benchmark the TableAdapter performance compared to DataTable's Load method? I found out that the DataTable's Load method is about 10x faster than TableAdapter's Fill method....
9
2880
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got...
3
7189
by: Mike | last post by:
Dear Group, When I add a DataTable to a Typed Dataset, and a TableAdapter to the DataTable, I am able to create methods to send updates directly to the database (GenerateDBDirectMethods),...
2
10568
by: Rob Dob | last post by:
Hi, in the old days, pre .Net 2.0 I could just modify the SQLCommand of the SQlDataAdapter to reflect a different where clause and then issue a .Fill(), and Whamo!!! everything worked.. How am...
1
3478
by: eduardoben | last post by:
I use a tableadapter with the sql string = select * fom table where field=? I load the desired record in a form and populate textboxes but after i modify them when i use tableadapter.update it...
11
4835
by: processoriented | last post by:
Hi, I'm something of a noob at this, but here it is... I have an app that fills a dataset from a SQL database, and then writes the dataset to an xml file. Everything is a SELECT query... I am...
1
2489
by: Marcolino | last post by:
Hi all, I'm using this code to export entire table from access to xml file. DScmdXML = New OleDb.OleDbCommand(sqlXML, conn) DScmdXML = New OleDb.OleDbDataAdapter(cmdXML) DScmdXML.Fill(DSXML,...
0
7137
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
7416
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
7506
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
5656
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,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1571
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 ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
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...

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.