opg:=TOpenDialog.Create(Application);
  if not (opg.Execute) then
     exit;
str:='SELECT * into ExcelToSql FROM OpenDataSource(''Microsoft.Jet.OLEDB.4.0'',''Data Source=c:\1.xls;'')';
我想动态定义路径Data Source=opg.FileName,但是opg.FileName为string型,请问如何转换?先谢谢了!!!