摘要:
string filepath = @"D:\test1.xls"; string sheetname = "Sheet5"; string strConn; strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filepath + ";Extended Properties=Excel 8.0;"; OleDbConnection conn = new OleDbConnection(strConn); OleDbDataAdapter oada 阅读全文