Hi shrini,
Could you paste your code here? And would you please give us a more detailed description about your problems? I am afraid I cannot 100% understood your problem.
Waiting for your feedback,
Hong Gang
Sincerely,
Hong Gang Chen
Microsoft Online Community Support
Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.