dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersAmruta
Minu
Rakesh Chaubey
Tarun
Shine S
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.NET »

How to do multi threding in asp .net application


Posted Date: 08 Aug 2012      Posted By:: Jitendra     Member Level: Bronze    Member Rank: 1704     Points: 3   Responses: 1



Hi

I have an application taht upload document to server .I want to apply multi threding to it so that while document is getting uploaded meantime I can do other task .I need not want to upload document in same thread as doing other task as it take time to upload document . Any idea has to implement it in an application.

Many many thanks in advance




Responses

#683598    Author: jogesh      Member Level: Gold      Member Rank: 229     Date: 08/Aug/2012   Rating: 2 out of 52 out of 5     Points: 2

Try this...

//This code should be inside the event that invokes the document upload
Thread t1 = new Thread(UploadDocument);
t1.Start();

In the UploadDocument() method, write the code to upload the document.

UploadDocument()
{
//Your code
}

Hope this will help you...



 
Post Reply
You must Sign In to post a response.

Next : Calculate commission based on level in MLM project
Previous : Export & import data from grid view using XML
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.