aspÖнøÐÐoracleµÄupdate²»Äܳɹ¦ - Web ¿ª·¢ / ASP
<%
If Request.Form("mySubmit") = "Modify" Then
total = i
for i=1 to total
rbb = Request.Form("rbb"& i )
guanxz=Request.Form("guanzx"& i )
names=Request.Form("names"& i)
strSql="Update code_tank Set rbb="& rbb &" where names='"+names+"' "
'strSql="Update code_tank set rbb='"&rbb&"',guanxz='"+guanxz+"' where names='"+names+"' "
conn.execute(strSql)
Next
response.redirect Request.ServerVariables("HTTP_REFERER")
conn.close
Set conn = nothing
End If
End If
%>
Ö»ÄÜÐÞ¸ÄÒ»¸ö,µ«¸ü¸Ä2¸ö±äÁ¿Ê±¾Í»á³ö´í
µÚÒ»¸östrSqlÄÜÖ´Ðгɹ¦,µÚ¶þ¸ö²»ÄÜÖ´ÐгöÏÖ´íÎó:
Microsoft OLE DB Provider for Oracle ´íÎó '80004005'
ORA-01407: cannot update ("GUANXZ") to NULL
rbb = Request.Form("rbb"& i )
guanxz=Request.Form("guanzx"& i )
names=Request.Form("names"& i)
ÔõôÄܷŵ½Ñ»·ÍâÃæÑ½
Ïà¹ØÎÊ´ð£º
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
¾ÍÊÇÀàËÆÒÔÉϵÄÔÚÏß²âÊÔϵͳ£¬ÐèÒªÓÐÒ»¸öºǫ́µÄ£¬ÓïÑÔÊÇaspµÄ£¬Êý¾Ý¿âÊÇaccessµÄ£¬»¹ÐèÒªÄÜÔÚºǫ́¶ÔÐÅÏ¢½øÐÐÌíɾ¸Ä²éµÄ¡£Ð»Ð»¸÷λÁË¡£¡£¡£
³ÌÐòÕæµÄºÜ¶à£¬²»Öª ......
function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;
var div1=document.getElementById("divPwd");
if (pwd.value=="")
{
......
ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ĿǰÊÇA.aspÃæÒ³ÓÐÒ»¸ö±äÁ¿aa,Ôõô²Å¿ÉÒÔ´«µ½B.aspÒ³Ãæ,²»ÊÇÓÃURL´«,ÏëÓÃ<inupt >¿Ø¼þÔõô´«°¡!Çë´ó¼ÒÖ¸µã!
ÓÃ±íµ¥´«Öµ
´«Öµ£¬GETºÍPOST£¬ÒªÃ´´ø²ÎÊý£¬ÒªÃ´ÓÃform
¶øÇÒ£¬Èç¹ûÄãÁ½¸öÒ³ÃæÃ»ÓÐÈκιØÁª£¬´«Ö ......