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

 

    摘要: 请问杭州要考程序员中级 要到哪报名啊?有相关的网站吗? 好像开始报了 我很着急 有知道的吗? ......
 ·菜菜的问:command not found    »显示摘要«
    摘要: 当前目录下有我得处男做 test 我敲 test,告诉我 -bash:test:command not found 图形模式下,双击弹出一个对话框:抱歉,找不到这个程序(好象是) 怎么改下? 初学linux编程,还想听听大家的忠告。 我很菜,希望以后能象众大侠样潇洒 ......


关于eof和bof(新手)

IE提示:  
  错误类型:  
  ADODB.Field   (0x80020009)  
  BOF   或   EOF   中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。  
   
  数据库用SQL   server,IIS   5.0  
  原码:  
  <%  
      set   conn=server.createobject("adodb.connection")  
      conn.open   "hospital",   "sa",   ""  
      sql="select   *   from   hospitalschedule"  
      set   rs=conn.execute(sql)  
      %>  
  <hr>  
  查询结果:<br>  
  <%   if   rs.eof   and   rs.bof   then   %>  
  ……  
  <%   else   %>……  
  <%   do   while     not   rs.eof   %>  
  <%   for   i=0   to   rs.fields.count-1   %>  
  <%   if   left(rs(i).name,1)="w"   then   %>  
  <%=   rs(i)   %>  
  <%   else   %>  
  <%=   rs(i)   %  
  <%   end   if     %>  
  <%  
  rs.movenext  
  next  
  loop  
  rs.close  
  conn.close  
  %>  
  大虾们能给点提示吗?

NO.1   作者: dydeling

rs.movenext放到next后面  
  不然每个for循环都要rs.movenext


    摘要: 要求:代码为c++builder,delphi,vb,vs.net中一种,过同时使用其中的两种! ......
» 本期热门文章:

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