Mr. Pradeep, Thanks. You are trying to help me out. The links you have given are with examples C#,But I am working in VB.net. Is it possible if you can give any VB.net example as I am not known to c#.