W
woaiwojia307
Unregistered / Unconfirmed
GUEST, unregistred user!
ADOConnection1.ConnectionString :=
'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' +
Excelpath +';Extended Properties=Excel 8.0;Persist Security Info=False';
ADOConnection1.Connected := true;
ADOConnection1.GetTableNames(ComboBox1.Items);
代码导入 Excel 中数据,可怎么给 Excelpath 赋值找出路径呀?
'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' +
Excelpath +';Extended Properties=Excel 8.0;Persist Security Info=False';
ADOConnection1.Connected := true;
ADOConnection1.GetTableNames(ComboBox1.Items);
代码导入 Excel 中数据,可怎么给 Excelpath 赋值找出路径呀?