If you dont mind, can you post sample code please.It will be really helpful for me.

Thanks in Advance...