A question raised in many performance problems.... Not so good but decent solution for the same... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui04012003.asp