我在利用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-07-24
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2021-07-06
猜你喜欢
  • 2021-05-30
  • 2022-02-28
  • 2022-12-23
  • 2021-05-27
  • 2021-09-15
  • 2021-05-17
相关资源
相似解决方案