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

 

    摘要: 那位使用过,这样的格式, void print_header() { fprintf(ofp,"%c[5i",esc); <-------proc 程序 for unix %c[是控制符 ,后面的参数怎么用 fprintf(ofp,"%c@",esc); <---------- ofp 文件指针,%c@是什么, 另外,e......
 ·高手止步    »显示摘要«
    摘要: 我用msxml2.domdocument对象load了一个.xml文件,然后往里面写入一些数据,然后用它的save方法保存,在asp中有效,生成了正确地文件,但我把同样的代码放在vb中生成dll文件后,在asp中调用却怎么也不能成功。 ps. 我加入的节点中含有中文,而vb是英文版,是不是这个原因?请赐教~~~ ......


怎样将这段代码进行下去

我在一本书上看到了一段在datagrid上修改数据的代码,原代码可以使用,其中将更改后的值存入数据库中的一段是这么写的:  
  strSQL   =   "update   hrinfo   Set   empname="   &   strname   &   ","  
  strSQL   =   strSQL   &   "empcode="   &   strcode   &   "   where   empno="   &   strNo   &   ""  
  现在我的数据库中不止empname,empcode和empno这几个字段,我想继续写,该怎么做?我依据我的数据库写了strSQL   =   strSQL   &   "empsort="   &   strsort   &   "   where   empno="   &   strNo   &   ""  
    strSQL   =   strSQL   &   "empdepart="   &   strdepart   &   "   where   empno="   &   strNo   &   ""  
  这两句话,但是在修改时就出错了,我应该怎样继续下去?

NO.1   作者: scent

改为:  
  strSQL   =   "update   hrinfo   Set   empname="   &   strname   &   ","  
  strSQL   =   strSQL   &   "empcode="   &   strcode   &   ","  
  strSQL   =   strSQL   &   "empsort="   &   strsort   &   ","  
  strSQL   =   strSQL   &   "empdepart="   &   strdepart   &   "   where   empno="   &   strNo   &   ""  
  一条sql语句只能有一个where子句  
   
   
 


 ·关于.net的安装    »显示摘要«
    摘要: 有一台机子装了.net之后,运行asp.net程序,出现如下错误信息:error while trying to run project:unable to start debuging on the web server.server side-error occurred on sending debug http request. make sure the server is op......
» 本期热门文章:

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