±êÌ⣺Ϊʲôֻʶ±ð°ëÌõÓï¾ä£ºresponse.write "<%=rs('tname') δ½áÊøµÄ×Ö´®³£Á¿ ...
Ö»¿´Â¥Ö÷
chenhui0123
Rank: 1
µÈ¡¡¼¶£ºÐÂÊÖÉÏ·
Ìû¡¡×Ó£º5
ר¼Ò·Ö£º0
×¢¡¡²á£º2011-10-7
½áÌûÂÊ£º50%
ÒѽáÌù¡Ì  ÎÊÌâµãÊý£º20 »Ø¸´´ÎÊý£º2 
Ϊʲôֻʶ±ð°ëÌõÓï¾ä£ºresponse.write "<%=rs('tname') δ½áÊøµÄ×Ö´®³£Á¿
<%
            <!--#include file="conn.asp"-->
            %>
            <%set rs=server.CreateObject("ADODB.RecordSet")
              session("user")="ÕÅÈý"
              sql="select * From [caiwu] in select * From [renshi] where tname="&session("user")&""
              rs.open sql,conn,2,3
              if rs.eof and rs.bof then
                 response.write "<tr><td height=25 colspan=9 align=center>ûÓÐÏàÓ¦Êý¾Ý£¡</td></tr>"
              else
                 if rs("position")<3 then
                     <!--#include file "appe.asp"-->
                     call abc(rs("department"))
                 end if
                 page=request("page")
                 if page="" then
                     if session("page")="" then
                          page=1
                     else
                          page=session("page")
                     end if
                 rs.PageSize=10
                 pages=rs.pagesize
                 rs.absolutepage=page
                 session("page")=page
                 do while not rs.eof and pages>0
                     response.write "<table>"
                      response.write "<tr height=35 align=center valign=middle>"
                     response.write "<td width=10% height=25>"
                     response.write "<%=rs('tname')%>"
                     response.write "</td>"
                     response.write "<td width=10%><%=rs('sex')%></td>"
                     response.write "<td width='10%'><%=rs('department')%></td>"
                     response.write "<td width='12%'><%=rs('gongzi')%></td>"
                     response.write "<td width='12%'><%=rs('jiangjin')%></td>"
                     response.write "<td width='12%'><%=rs('kouchu')%></td>"
                     response.write "<td width='14%'><%=rs('shouru')%></td>"
                     response.write "<td width='12%'><%=rs('yue')%></td>"
                     response.write "<td width='8%'>"
                     response.write "<a href=caiwuchange.asp?id='&rs("id")'&page='&page'>ÐÞ¸Ä</a>"
                     response.write "</td></tr></table>"                  
                     pages=pages-1
                     rs.movenext
                 loop
              end if
            %>
´íÎóÀàÐÍ£º
Microsoft VBScript ±àÒëÆ÷´íÎó (0x800A0409)
δ½áÊøµÄ×Ö·û´®³£Á¿
/comp/caiwu.asp, line 102, column 30
response.write "<%=rs('tname')
Ϊʲô»á³öÏÖÕâÖÖÇé¿ö£¬ÎÒÓüÇʱ¾´ò¿ª²¢±£´æΪutf-8¸ñʽ¡£Çë¸÷λ´óϺ´Í½Ì£¬²»Ê¤¸Ð¼¤
ËÑË÷¸ü¶àÏà¹ØÖ÷ÌâµÄÌû×Ó: include¡¡position¡¡sql¡¡center¡¡
2011-10-07 14:20
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
µÈ¡¡¼¶£ºÃÉÃæÏÀ
Íþ¡¡Íû£º5
Ìû¡¡×Ó£º1281
ר¼Ò·Ö£º4998
×¢¡¡²á£º2005-10-12
µÃ·Ö:10 
<!--#include file "xxxx"-->²»ÄÜÔÚ<% %>ÄÚ


 

----ÎÒÔõÄÜÔÚ±ðÈ˵ĿàÄÑÃæǰת¹ýÁ³È¥----
2011-10-07 14:28
¹Â¶ÀÀäÓê
Rank: 10Rank: 10Rank: 10
À´¡¡×Ô£º°²»Õ³üÖÝ
µÈ¡¡¼¶£º¹ó±ö
Íþ¡¡Íû£º23
Ìû¡¡×Ó£º1246
ר¼Ò·Ö£º1909
×¢¡¡²á£º2007-6-4
µÃ·Ö:10 
³ÌÐò´úÂ룺
  response.write "<table>"
                      response.write "<tr height=35 align=center valign=middle>"
                     response.write "<td width=10% height=25>"
                     response.write rs("tname")
                     response.write "</td>"
                     response.write "<td width=10%>"&rs("sex")&"</td>"
                     response.write "<td width='10%'>"&rs("department")&"</td>"
                     response.write "<td width='12%'>"&rs("gongzi")&"</td>"
                     response.write "<td width='12%'>"&rs("jiangjin")&"</td>"
                     response.write "<td width='12%'>"&rs("kouchu")&"</td>"
                     response.write "<td width='14%'>"&rs("shouru")&"</td>"
                     response.write "<td width='12%'>"&rs("yue")&"</td>"

ÕâÀïÓÐÄÐŮϵÁгÉÈËÓÃÆ·,ÓÐʱ¼äÐÖµÜÃÇÀ´¿´Ò»¿´.
51za.
2011-10-07 21:32



²ÎÓëÌÖÂÛÇëÒƲ½Ô­ÍøÕ¾Ìù×Ó£ºhttps://bbs.bccn.net/thread-351740-1-1.html




¹ØÓÚÎÒÃÇ | ¹ã¸æºÏ×÷ | ±à³ÌÖйú | Çå³ýCookies | TOP | ÊÖ»ú°æ

±à³ÌÖйú °æȨËùÓУ¬²¢±£ÁôËùÓÐȨÀû¡£
Powered by Discuz, Processed in 0.322781 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved