Business and Technology Consulting Organization in Mumbai

Electronic Transformation Globally Technology Solution IT Consultancy Service Provider

Threading in Asp.net

System.Threading || Multi threading || Asyc Call in Asp.net || Callback Example || Asyc Webservice



System.Threading
Simple Threading Example
protected void btnThreadStart_Click(object sender, EventArgs e)
1: {
2: Thread onjThread = new Thread(MyLongBusinessProcess);
3:
4: onjThread.Start();
5:
6:
7: }
8:
9:
10:
11: void MyLongBusinessProcess()
12: {
13: // Thread.Sleep(10000);
14: lblThreadresult.Text += "Hello world" + Thread.CurrentThread.ManagedThreadId.ToString() +"<br>" ;
15: }
16:
Leave your comment.

Reduce your Dialy IT Cost, Consult with us
Stay healthy in recession

Advertisement
Sponsored by

HR Recruitment & Process Management System
Jewellery production process management software
Share
©2009 ETG Consultancy, All Rights Reserved Privacy Policy | Terms & Conditions
Asp.net, Ado.net, .Net Remoting, .Net Webservice, SQL, XML, XSLT, WCF, WPF, WWF NHibernate, Ajax, Jquery, DHTML