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

update a progressbar on update a mssql table

Hi all,

I have a typed dataset. I update, and insert well over a hundred rows at a
time.
How can I indicate to the user, via progreesbar, of some sort of progress
of the update, as each row is updated to the server

Thanks
Robert
Mar 26 '07 #1
2 1414

You need a progress bar for 100 rows?

Hmm.

Check out (if you using sql server at the back end db)

http://support.microsoft.com/kb/315968

especially if you have a strong dataset, (and .GetXml() at your disposal.

see
http://groups.google.com/group/micro...0893522ad8c365

if you're using 2005 , i'd switch OPENXML for

http://www.sommarskog.se/arrays-in-sql-2005.html
(find these lines)
Inserting Many Rows
I said that where XML is really good is when you need to insert many rows.
So how would you do that? In fact you have already seen the basics. You use
nodes and value. Here is an example where I unpack a document with orders
and order details:


"Robert Bravery" <me@u.comwrote in message
news:OS****************@TK2MSFTNGP04.phx.gbl...
Hi all,

I have a typed dataset. I update, and insert well over a hundred rows at a
time.
How can I indicate to the user, via progreesbar, of some sort of progress
of the update, as each row is updated to the server

Thanks
Robert


Mar 26 '07 #2
HI,

THanks
Well its testing phase first, But I suspect that this routine will
eventually, I know its not that big, be translating 5000-10000 rows at a
time.
Robert

BTW, in order to speed test this little app. On a 2.4 core 2 duo, 2 gig ram.
What kind of throuput should I be looking at.
I have no idea as to what is fast or what is slow, when it comes to dataset
updates etc
"sloan" <sl***@ipass.netwrote in message
news:uq****************@TK2MSFTNGP05.phx.gbl...
>
You need a progress bar for 100 rows?

Hmm.

Check out (if you using sql server at the back end db)

http://support.microsoft.com/kb/315968

especially if you have a strong dataset, (and .GetXml() at your disposal.

see
http://groups.google.com/group/micro...0893522ad8c365

if you're using 2005 , i'd switch OPENXML for

http://www.sommarskog.se/arrays-in-sql-2005.html
(find these lines)
Inserting Many Rows
I said that where XML is really good is when you need to insert many rows.
So how would you do that? In fact you have already seen the basics. You
use
nodes and value. Here is an example where I unpack a document with orders
and order details:


"Robert Bravery" <me@u.comwrote in message
news:OS****************@TK2MSFTNGP04.phx.gbl...
>Hi all,

I have a typed dataset. I update, and insert well over a hundred rows at
a
time.
How can I indicate to the user, via progreesbar, of some sort of
progress
of the update, as each row is updated to the server

Thanks
Robert



Mar 27 '07 #3

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

Similar topics

1
by: Caroline | last post by:
I need to update a table by copying a column from another table (having the same structure, but on another database), from the record having the same primary key. 1 - What is the correct...
2
by: addi | last post by:
All, Can someone help me with the following SQL and help me write it in an OPENQUERY format. I am running the following code from a SQL Server 7 box, trying to update a table in an Oracle Linked...
1
by: avinash | last post by:
hi myself avi i am developing one appliacaion in which i am using vb 6 as front end, adodb as database library and sql sever 7 as backend. i want to update one table for which i required data from...
1
by: Alberto | last post by:
Hello all, I'm new in this newsgroup and I apologise if my question has already done. Let me knwo if FAQ is avaible somewhere. I use msSQL server to manage data for a B2B portal. Orginal data...
1
by: nobody | last post by:
Hi I'm currently developing a Windows application. At the start of the application I load several tables into datatables in a dataset. I also use a progressbar to show the user how much percent...
0
by: Rick | last post by:
I use VB .Net and try to do som intensive actions on a database (in a seperate module). I defined an Interface for updating a progressbar on the main form. When I test it from a procedure within...
4
by: Igor Kryltsov | last post by:
Hi, If you can help me to correct my mistake. To simplify my question: I have table: create table test ( name varchar(10),
8
by: Zorpiedoman | last post by:
I keep getting a concurrency exception the second time I make a change and attempt to update a dataadapter. It appears this is by design, so there must be something I can do to avoid it. ...
2
by: hotflash | last post by:
Hi Master CroCrew, I found a good PURE ASP that will allow you to upload 10MB file to the server and the file contents such as Network, Author, Title, etc... will insert to MS Access at the same...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.