المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Design Question



C# Programming
03-27-2010, 07:24 AM
Currently the application I have is single threaded. When the user goes into the form it sends a query to mySQL and starts to populate the UI with data.
The question I have is should I being running this on a separate thread using the invoke methods or is there some other/better way of doing this.
The queries are fairly optimized although they are not stored procs. When we run this in some of our centers that are on VPN this can take alot of time.
Any ideas and or suggestions welcome.
Thank you.
BTW I will be doing this reworking in VS2010 so these would actually be task...
Humble Programmer