Line 59: // make sure your sheet name is correct, here sheet name is sheet1, so you can change your sheet name if have Line 60: string path = string.Concat(Server.MapPath("~/Images/Documents/" + FileUpload1.FileName)); Line 61: FileUpload1.SaveAs(path); Line 62: string myexceldataquery = "select * from [OR02$]"; Line 63: