不好意思先放下,解决了就撤下去
我在利用DTS导入SQL时,程序不出现错误,但是没有将需要的数据导入到sql中,大家帮我看看:
代码如下:
Button代码:
DTS导入的问题    string strdespath="bsee";
DTS导入的问题            
string strsourcepath ="c:\\File\\abc.XLS";
DTS导入的问题            
string tablename="OTHER_MainPTJob";            
DTS导入的问题            
string strsql="select  id  from [bsee].[dbo].[OTHER_MainPTJob]";
DTS导入的问题            AppExportData tryclass
=new AppExportData(strsourcepath,strdespath,tablename,strsql);
DTS导入的问题            tryclass.ExportData();        
导入类:
DTS导入的问题    public class AppExportData
        }

数据库名“bsee”,表名:OTHER_MainPTJob,表内只有一个字段:id

相关文章:

  • 2021-09-16
  • 2021-07-17
  • 2021-11-21
  • 2021-12-17
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-28
  • 2021-06-10
  • 2021-07-24
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
相关资源
相似解决方案