This will help you http://www.asp101.com/articles/john/...le/default.asp