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

Dynamically inserting text into Table Cells so that they are instantly updated individually.

I am running an ASP.Net project that runs 30 lengthy SQL Stored
Procedures (each takes around 20 seconds to complete). As each Stored
Procedure completes, I want to indicate in a table cell that it has
completed by merely inserting the word "Complete" into the table cell.
I would love to know if there is a way of updating each cell
dynamically, without having to re-post the page, so that the word
"Complete" appears as soon as each procedure ends, rather than having
to wait for for all 30 procedures to end, and then the 30 cells
appearing with the word "Complete" in them.
Nov 18 '05 #1
2 1229
don't think there's any way to do that.
you're probably thinking about disabling buffering the response output and
flushing output everytime a sproc finishes. but as far as i know, buffering
output is sequential - you can't target a specific cell in a datagrid that's
already been rendered.

you can try to speed up the execution of the sprocs by running each sproc in
a separate thread so they run concurrently.
"Ceri" <cl****@vetchd39.freeserve.co.uk> wrote in message
news:62**************************@posting.google.c om...
I am running an ASP.Net project that runs 30 lengthy SQL Stored
Procedures (each takes around 20 seconds to complete). As each Stored
Procedure completes, I want to indicate in a table cell that it has
completed by merely inserting the word "Complete" into the table cell.
I would love to know if there is a way of updating each cell
dynamically, without having to re-post the page, so that the word
"Complete" appears as soon as each procedure ends, rather than having
to wait for for all 30 procedures to end, and then the 30 cells
appearing with the word "Complete" in them.

Nov 18 '05 #2
Thanks Tammy. I knew that multi-threading was probably my best option,
but I wanted to make sure that there wasn't some simple solution that
had simply escaped me. I thank you for confirming that there wasn't.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

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

Similar topics

3
by: Dave Nouwens | last post by:
Hi All, Please accept my appologies in advance for what I expect will be a reasonably simple question. I have an html form (which is generated in php) which contains a number of rows (one row...
2
by: Chad | last post by:
I have a problem that I am desperate to understand. It involves dynamically adding controls to a Table control that is built as a result of performing a database query. I am not looking to...
6
by: TB | last post by:
Hi All: I have this page where a rows / cells are programmatically added to to table by pushing a button. The rows contain a textbox and a associated button. What I want to is to be able to...
2
by: aric.bills | last post by:
Hello all, I'm a novice Javascript programmer, and I'm having browser compatability issues regarding dynamic generation of tables. The following content generates "hello" in Firefox 1.5, but...
2
by: jmarendo | last post by:
Hello, After reading through the "Table Basics - DOM - Refer to table cells" example at mredkj.com , I modified the code for my own purposes. In the modified version, I create a hyperlink and...
5
by: Amoril | last post by:
I've read quite a few different message on various boards and for some reason I'm still having trouble wrapping my head around this viewstate maintenance and trying to get these dynamically created...
3
by: rcoco | last post by:
Hi, I want to share this problem. I have a datagrid that will help me Insert data into sql database. So I made a button On my form so that when I press the button a new row on datagrid should be...
1
by: semomaniz | last post by:
I have a form where i have created the form dynamically. First i manually added a panel control to the web page. Then i added another panel dynamically and inside this panel i created tables. I have...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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...

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.