Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2005, 02:37 AM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Use of threads in c#.net application

Hi
In my c#.net windows application
In a page I am using a number of sql queries to retrieve data and then writing xml files of that,But now performance is really very bad it is taking a lot much time to download the data

Now can any body tell me How can I use multithreading in this context to improve performance

 
Old February 7th, 2005, 03:28 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

I don't have any idea on this but I'm just curious,I found these,
http://www.dotnet247.com/247referenc...32/160324.aspx
http://www.dotnet247.com/247referenc...51/257466.aspx
I think if you google more you get better results(if you find a article in this regard pleas let me know).


_____________________________
Mehdi.
software engineering student.
Looking for a good job for summer 2005.
 
Old February 17th, 2005, 01:41 PM
Friend of Wrox
 
Join Date: Jul 2004
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

here you should use asynchronous methods,it builds a working thread for you which retrieves data from your database but important thing here is that while working thread retrieves data from db your app remains responsive,check out this link,
http://dotnetjunkies.com/WebLog/gran...9/07/1437.aspx
(however in ADO.NET 2 Connection objects would have this ability).

_____________
Mehdi.
software student.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Contrlling other .NET Application from my .NET app ashu_from_india General .NET 2 November 28th, 2006 09:17 AM
Creating an ASP.Net Application in VS.Net Maxood BOOK: Beginning ASP.NET 1.0 11 July 6th, 2004 03:09 PM
Is .NET framework req. to install .NET application tact_259 VS.NET 2002/2003 2 May 20th, 2004 08:20 PM
Creating ASP.NET Application in Visual Studio.NET Maxood ASP.NET 1.0 and 1.1 Basics 1 March 8th, 2004 01:56 PM
Problems with threads. Threads disappearing? DriesNeyrinck VB.NET 0 June 10th, 2003 08:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.