Nice code SP in VB....I would like to implement same in .NET