Thank You Christian Graus, It is working. Thanks for your help. I am a bignner in .net my learning curve is becoming lot more steeper because of the people like You and the code project. Thanks a lot to all you people for your generous responces. Sukanyavarma