This will help to u,
http://www.dotnetjohn.com/articles.aspx?articleid=8