ÇóÖúÒ»¸öÓйØasp¸üеÄÎÊÌâ - Web ¿ª·¢ / ·Ç¼¼ÊõÇø
´íÎóÈçÏ£º
Microsoft OLE DB Provider for SQL Server ´íÎó '80040e14'
µÚ 1 ÐÐ: '=' ¸½½üÓÐÓï·¨´íÎó¡£
/detail.asp£¬ÐÐ 11
´úÂ룺
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/con_bbs.asp" -->
<%
set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_con_bbs_STRING
Command1.CommandText = "UPDATE dbo.bbs_main SET hits =hits+1 where main_id ="&request("main_id")
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>
ÕæÐÄÇó½Ì£¡£¡£¡Ð»Ð»£¡£¡£¡
·¢Ò»Ìù¾ÍÐÐÁË
request("main_id") û»ñµÃÖµ¡£
Ïà¹ØÎÊ´ð£º
aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØдurl²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖص㣬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
ÏÖÓÐÒ»¸ö±í¸ñ£¬ÓкܶàÐÐÊý×é¡£
ÏëÒªÒ»¸ö½Å±¾£¬¶ÁÈ¡ËùÓÐÐеÄÊý×éºóÊä³ö¡£
Êä³öÇ°²»ÏÔʾÕý³£Ë³ÐòµÄ±í¸ñÊý×飬¶øÖ±½ÓÏÔʾ³ö¶ÁÈ¡ºóµÄÊý×é¡£
Â¥Ö÷µÄ±í´ïʵÔÚ³ÉÎÊÌ⣡£¡
ÊDz»ÊÇÕâ¸öÒâ˼£¿
<%
Dim ArrDNA£¨10£¬10£ ......
<a href="../Help/HelpCenter.aspx?artsub=ÁªÏµÎÒÃÇ"target="_blank">
½øÐд«µÝ
string Name = "ÖÐÎIJÎÊý";
Response.Redirect("B.aspx?Name="+Ser ......