ASP CommandʹÓÃʱ³ö´í - Web ¿ª·¢ / ASP
ʹÓòÎÊýÐÍCommand³öÏÖÏÂÁдíÎ󡣺ìÉ«´¦
ADODB.Command ´íÎó '800a0bb9'
²ÎÊýÀàÐͲ»ÕýÈ·£¬»ò²»ÔÚ¿ÉÒÔ½ÓÊܵķ¶Î§Ö®ÄÚ£¬»òÓëÆäËû²ÎÊý³åÍ»¡£
/asp/Test.asp£¬ÐÐ 37
VB code:
set conn=server.CreateObject("ADODB.connection")
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.MapPath("db.mdb")
set cmd=server.CreateObject("ADODB.command")
cmdText_INSERT="insert into ComputeInfo(ComputeName,IP,MAC,CPU,DNSName) values(?,?,?,?,?)"
set cmd.ActiveConnection=conn
cmd.CommandType=adCmdText
cmd.CommandText=cmdText_INSERT
set PrmName=cmd.CreateParameter("ComputeName",adVarChar,adParamInput,30)
set PrmIP=cmd.CreateParameter("IP",adVarChar,adParamInput,15)
set PrmMAC=cmd.CreateParameter("MAC",adVarChar,adParamInput,17)
set PrmCPU=cmd.CreateParameter("CPU",adVarChar,adParamInput,45)
set PrmDNSName=cmd.CreateParameter("DNSName",adVarChar,adParamInput,50)
cmd.Parameters.Append PrmName
cmd.Parameters.Append PrmIP
cmd.Parameters.Append PrmMAC
cmd.Parameters.Append PrmCPU
cmd.Parameters.Append PrmDNSName
PrmName.Value=Request.Form("txtComputeNam
Ïà¹ØÎÊ´ð£º
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÔõÑù½«ASP³ÌÐòת»»Îª.NET³ÌÐò ?
ÕÒ¸öÈ«²Å·Òë¡£
ÊÖ¶¯È¥Ð´
¸Ð¾õд¹ýaspµÄ£¬À´Ð´asp.net£¬ÉÏÊÖÓ¦¸Ã¿ìµã¡£
¸üÄÜÀí½âasp.netµÄһЩÄÚ²¿¼¼Êõ
asp.net¶¼±»·â×°ÁË
ÎÒÊÇ×ö.NetµÄ£¬¶ÔASPһֱû½Ó´¥µ½£¬ºÜİÉú¡£
¹« ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......