Thanks for reply.

Can you give some sample code for doing it.