Click here to Skip to main content
15,912,977 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to Edit a gridview ,Please correct the code which i gave here. Pin
Arnalyn19-Feb-10 0:37
Arnalyn19-Feb-10 0:37 
AnswerRe: How to Edit a gridview ,Please correct the code which i gave here. Pin
Nishant Singh9-Nov-09 20:06
Nishant Singh9-Nov-09 20:06 
AnswerRe: How to Edit a gridview ,Please correct the code which i gave here. Pin
Raja Soosai10-Nov-09 2:20
Raja Soosai10-Nov-09 2:20 
Questionhow to display data in grid without sending the data in the database Pin
Flavia A9-Nov-09 18:57
Flavia A9-Nov-09 18:57 
AnswerRe: how to display data in grid without sending the data in the database Pin
Christian Graus9-Nov-09 19:02
protectorChristian Graus9-Nov-09 19:02 
AnswerRe: how to display data in grid without sending the data in the database Pin
Satish Mahapatra9-Nov-09 19:44
Satish Mahapatra9-Nov-09 19:44 
GeneralRe: how to display data in grid without sending the data in the database Pin
Flavia A9-Nov-09 22:19
Flavia A9-Nov-09 22:19 
GeneralRe: how to display data in grid without sending the data in the database Pin
Satish Mahapatra9-Nov-09 23:38
Satish Mahapatra9-Nov-09 23:38 
GeneralRe: how to display data in grid without sending the data in the database Pin
Flavia A10-Nov-09 0:27
Flavia A10-Nov-09 0:27 
GeneralRe: how to display data in grid without retreiving data from the database and later the dat from the gridview should go into the database. Pin
Flavia A10-Nov-09 0:51
Flavia A10-Nov-09 0:51 
Questionconnection with my sql with ASP.Net Pin
Amit Patel19859-Nov-09 18:30
Amit Patel19859-Nov-09 18:30 
AnswerRe: connection with my sql with ASP.Net Pin
Christian Graus9-Nov-09 18:46
protectorChristian Graus9-Nov-09 18:46 
AnswerRe: connection with my sql with ASP.Net Pin
Gamzun9-Nov-09 20:06
Gamzun9-Nov-09 20:06 
Answerfound solution Pin
Amit Patel19859-Nov-09 20:21
Amit Patel19859-Nov-09 20:21 
GeneralRe: found solution Pin
Christian Graus9-Nov-09 21:09
protectorChristian Graus9-Nov-09 21:09 
Question[Message Deleted] Pin
Amit Patel19859-Nov-09 18:30
Amit Patel19859-Nov-09 18:30 
AnswerRe: connection with my sql with ASP.Net Pin
N a v a n e e t h9-Nov-09 18:31
N a v a n e e t h9-Nov-09 18:31 
GeneralRe: connection with my sql with ASP.Net Pin
Amit Patel19859-Nov-09 18:46
Amit Patel19859-Nov-09 18:46 
GeneralRe: connection with my sql with ASP.Net Pin
Christian Graus9-Nov-09 18:47
protectorChristian Graus9-Nov-09 18:47 
QuestionAsync updates to DB without BackgroundWorker Pin
student_rhr9-Nov-09 12:40
student_rhr9-Nov-09 12:40 
AnswerRe: Async updates to DB without BackgroundWorker Pin
N a v a n e e t h9-Nov-09 15:32
N a v a n e e t h9-Nov-09 15:32 
What is ProgressHelper?

BackgroundWorker is a class designed for windows applications not web applications. So using it in a web application is not a good idea. If I understood your question, you need to do a time consuming task on background and show a progress bar on another ASP.NET page, correct?

If yes, follow the below steps.
  1. From the first page, start a thread (or better if you can use ThreadPool) and run the Process() method on that.
  2. This method should update the progress to a session variable say Session["progress"]
  3. Once the thread started, redirect to the page where progress will be displayed
  4. Use AJAX and poll the Session["progress"] value and show it on the page. For creating progress bar, you can use HTML DIV tag with a background color.
You need to pass HttpContext.Current to the Process() method because it is thread specific and a worker thread won't have access to it. Use this context to access the session.

Hope that helps Smile | :)

Best wishes,
Navaneeth

GeneralRe: Async updates to DB without BackgroundWorker Pin
student_rhr10-Nov-09 5:10
student_rhr10-Nov-09 5:10 
GeneralRe: Async updates to DB without BackgroundWorker Pin
N a v a n e e t h10-Nov-09 14:41
N a v a n e e t h10-Nov-09 14:41 
Questionhow to connect to the pop3 server from web page Pin
amalatsliit9-Nov-09 11:45
amalatsliit9-Nov-09 11:45 
AnswerRe: how to connect to the pop3 server from web page Pin
Christian Graus9-Nov-09 11:51
protectorChristian Graus9-Nov-09 11:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.