trystrsql="update table1 set u_check=u_check+1 where u_text='" & strtemp & "'"

解决方案 »

  1.   

    if it does not work, then show the errors
      

  2.   

    i have changed a little,then show you the error说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: BC30277: 类型字符“&”与声明的数据类型“String”不匹配。源错误: 行 60: myconnection.open()
    行 61: strsql="update table1 set u_check=u_check+1 where u_text='"&strtemp
    行 62: strsql=strsql&"'"
    ...
    源文件: c:\inetpub\wwwroot\Default.aspx    行: 62 
      

  3.   

    i have changed it well,but i still should thank to you!really!
    i have change it like this:
    strsql="update table1 set u_check=u_check+1 where u_text='"+strtemp
    +"'"thank you,i will give you "分" later
      

  4.   

    saucer(思归) 的是对的,注意,连接符号“&”的前后都有空格的,你的字符串是错误的。