如何删除一行?(能正常连接显示和编辑)
如何刷新(我采取了重新建立连接的方法)在MSDN是这样写的:
**************************************************************************
Delete
You are more restricted in deleting Excel data than data from a relational datasource. In a relational database, "row" has no meaning or existence apart from "record"; in an Excel worksheet, this is not true. (1)You can delete values in fields (cells). However, you cannot: Delete an entire record at once or you receive the following error message: 
Deleting data in a linked table is not supported by this ISAM. You can only delete a record by blanking out the contents of each individual field.(难道字段全填空就行,就能删除一个记录吗,但没有成功。没有办法直接删除一行吗,要像(1)所说的You can delete values in fields(cells) )?Delete the value in a cell containing an Excel formula or you receive the following error message: 
Operation is not allowed in this context. You cannot delete the empty spreadsheet row(s) in which the deleted data was located, and your recordset will continue to display empty records corresponding to these empty rows. A caution about editing Excel data with ADO: When you insert text data into Excel with ADO, the text value is preceded with a single quote. This may cause problems later in working with the new data. 
**************************************************************************