摘要:
string strCon = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + filePath + ";Extended Properties='Excel 12.0;HDR=NO;IMEX=1';";System.Data.OleDb.OleDbConnection myConn = new System.Data.OleDb.OleDbConnection(strCon); myConn.Open(); //获取excel第一标签名 System.Data.DataTable s 阅读全文