当前位置:首页
开发技术指南» 文章正文
    引言:

 ·这是什么错误    »显示摘要«
    摘要: argument are of wrong type,are out of acceptable range,or are inflict with one another 上面是我用adotable 的 filter:=姓名=+edit1.text;报的错?(运行时包错,不是编译) 同样我下面的句子怎么没有包错 filter:=工资变动时间=+formatdatetime(yyyy-mm......
 ·这是什么问题    »显示摘要«
    摘要: procedure tform1.button1click(sender: tobject); type pbyt = ^byte; var ms: tmemorystream; pbyt1, pbyt2: pbyt; i: integer; begin ms := tmemorystream.create; new(pbyt1); new(pbyt2); try ms.clear; fo......


怎么用ASP把EXECEL导入SQL SERVER

怎么用ASP把EXECEL导入SQL   SERVER?  
  一部分数据在EXCEL,  
  另一部分在SQL   SERVER,  
  需要合并处理

NO.1   作者: hchxxzx

没有,给你一个读取EXCEL的方法  
  vXlFile   =   "e:\aqjcsj\abc.xls"  
  vXlFilePath   =   vXlFile    
  vConnString   =   "DRIVER={Microsoft   Excel   Driver   (*.xls)};readonly=true;DBQ="   &   vXlFilePath  
  Set   Conn   =   Server.CreateObject("ADODB.Connection")  
  Conn.Open   vConnString  
  得到电子表格中的表的数目  
  adSchemaTables=20  
  set   rs=conn.OpenSchema(adSchemaTables)  
  response.write   "所有表的个数:"&rs.recordcount&"<br>"  
  do   while   not   rs.eof  
  for   i=0   to   7  
  response.write   "表名"&i&":   <font   color=blue>"&rs(i).name&"</font><br>"  
  response.write   "表名"&i&":   <font   color=blue>"&rs(i)&"</font><br>"  
  next  
  rs.movenext  
  loop  
  rs.close


    摘要: 如何利用enumwindow获取所有的窗口句柄? ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE