Thank you so much for your reply sir,
I have tried the same thing which you have attached in the sample. But still I am not getting any result.
I have captured the data while debugging. I have attached it to the post.
I dont know where i am going wrong even though i have followed the tutorial exactly.