Here is a decent article on Asynchronus socket programming in .NET. http://www.codeproject.com/csharp/socketsincs.asp There are several other good ones out there. Just go to google and search for Asynchronus and the language you are using.
I have a windows application where i executing differents Stored Procedures from SQL Server to return dara, accourding to the date range the executing time can be between 3 to 5 minutes, as the connection is Synchronous the user have to wait all that time. For that reason i have been looking for about asynchronous execution, in http://msdn.microsoft.com/en-us/library/1a674khd.aspx and http://msdn.microsoft.com/en-us/library/7b6f9k7k.aspx, as you can see it just update data or return a SqlDataReader, from a query.
My question is how can i execute a store procedure in asynchronous process and the return data load in a GridView.
Bookmarks