| ÍøÕ¾Ê×Ò³ | Òµ½çÐÂÎÅ | С×é | Íþ¿Í | È˲Š| ÏÂÔØƵµÀ | ²©¿Í | ´úÂëÌù | ÔÚÏß±à³Ì | ±à³ÌÂÛ̳
»¶Ó­¼ÓÈëÎÒÃÇ£¬Ò»Í¬Çд輼Êõ
Óû§Ãû£º   
 
ÃÜ¡¡Â룺  
¹²ÓÐ 711 È˹Ø×¢¹ý±¾Ìû
±êÌ⣺Ϊʲôֻʶ±ð°ëÌõÓï¾ä£º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
Ìû¡¡×Ó£º1247
ר¼Ò·Ö£º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
¿ìËٻظ´£ºÎªÊ²Ã´Ö»Ê¶±ð°ëÌõÓï¾ä£ºresponse.write "<%=rs('tname') δ½áÊøµÄ×Ö´® ...
Êý¾Ý¼ÓÔØÖÐ...
 
¡¡¡¡¡¡



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

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