zubie Posted December 18, 2003 Posted December 18, 2003 Hi I have an ASP.NET screen with 3 test boxes and an import button associated with each and a lblMessages label when the import button is pressed it takes the directory details in the text box and opens a specific file (e.g. c:\import\sales.txt) This file is read and the details written to the database This file can be quite large. What I want to do is display messages on the screen detailing the progress. The problem is that no matter what I put into lblMessages.text they dont display on the screen until the processing is finished. I remember in VB 6 there was Do Events which allowed me to do something like this. Anything like this in .NET? cheers Zubie Quote
fadi Posted December 18, 2003 Posted December 18, 2003 u should use start a new thread to do your work and from the main thread continue working with the interface Quote
zubie Posted December 19, 2003 Author Posted December 19, 2003 Hi OK that sounds like it could work .. one problem.. I've never done this and hints on where I should look or start cheers Zubie Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.