我用
Dim sqq As String
sqq = "UPDATE xxzl SET name='" & Text3.Text & "', ms='" & Text4.Text & "',bz='" & Text2.Text & "'" & " where id = " & ID & ""
tx (sqq)'数据修改函数但只要 Text2.Text 中包含 ' 这个符号时就会出错
不知道 Text2.Text 中包含 ' 这个符号或者其它特殊符号时 如何更新数据库
Dim sqq As String
sqq = "UPDATE xxzl SET name='" & Text3.Text & "', ms='" & Text4.Text & "',bz='" & Text2.Text & "'" & " where id = " & ID & ""
tx (sqq)'数据修改函数但只要 Text2.Text 中包含 ' 这个符号时就会出错
不知道 Text2.Text 中包含 ' 这个符号或者其它特殊符号时 如何更新数据库
*****************************************************************************
欢迎使用CSDN论坛阅读器 : CSDN Reader(附全部源代码)
http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html