Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

sql+asp¶à±í²éѯÎÊÌ⣿£¿£¿

AÉÌÆ·±í
ma  spmc    ppbm   
 
B Æ·ÅÆ±í
ppbm  ppmc    jyb


CÏúÊÛ±í
xrq  ma  xsl  xje    ppbm  jyb

D½ø»õ±í
jrq  ma  jsl  jje    ppbm  jyb

EÆÚ³ö¿â´æ±í(ÿÔÂÒ»ÈÕµÄ¿â´æ£©
ma  qckc 

Òª°Ñ5¸ö±íµÄÐÅÏ¢¸ù¾ÝÈÕÆÚ(jrq ,xrq)Ìõ¼þÏÔʾÔÚÒ»¸ö±íÖÐ
ma  spmc  qckc  jsl  jje    xsl    xje    (qckc+jsl-xsl)  ppbm  ppmc


СµÜÔÚ´ËÏÈллÖîλÀ²£¡£¡£¡

±íB-(E,A)-(c,D)ÊÇÒ»¶Ô¶à¶Ô¶àµÄ¹ØÏµ


ÒýÓÃ
select A.ma,A.spmc,E.qckc,jsl,xsl,xje,(qckc+jsl-xsl),ppbm,ppmc
from A inner join B on  A.ppbm = B.ppbm inner join C on A.ma = c.ma
inner join D on a.ma=d.ma inner join E on A.ma = e.ma
inner join E on A.ma = e.ma where Ìõ¼þ



Ìõ¼þÕâÑùд¿ÉÒÔÂð
"& eq("xtzl.ma", sp_m) & " and " &eq("xtzl.ppbm", pp_m) & " and " & eq("ppk.jyb", jyb_m) & " and " &dbfj & ".ma=xtzl.ma and "& dbfj &".ppbm=xtzl.ppbm and " & dbfj & ".jyb=ppk.jyb and " & dbfj & ".ppbm=ppk.ppbm and " & dbfx & ".ma=xtzl.ma and "&a


Ïà¹ØÎÊ´ð£º

ÈçºÎÓÃc#£¬sql2000 ¿ª·¢c/sÏµĹ¤×÷Á÷£¿

±¾ÈËc#ÐÂÊÖ ¿ÉÊÇÒªÇóÒªÓÃc# £¬sql2000¿ª·¢c/sµÄ¹¤×÷Á÷£¬Ò»Í·ÎíË®£¬Çë´ó¼Ò°ïæ°ï棬¸øµã˼·£¬ËµµÄÔ¼¾ßÌåÔ½ºÃ£¬ÎÒÒ²ºÃÍùÄǸö·½ÃæÈ¥Ñ§Ï°
http://www.hxzi.com/view/61402.html
B/S°æµÄ£¬»ù±¾Ë¼ÏëÓ¦¸Ã²î²»¶àµÄ¡£¡£ ......

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

ÓÃASPÔõôдÒÔÏ´úÂë

µ±½áÊøÊ±¼ä´óÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδÍê³É
µ±½áÊøÊ±¼äСÓÚ¿ªÊ¼Ê±¼äÔòÏÔʾδ´ïµ½ÈÎÎñ
ûÓÐʱ¼äÔòÏÔʾÕýÔÚ½øÐÐÖÐ
asp´úÂëÓ¦¸ÃÔõôд


Èç:¿ªÊ¼Ê±¼ä      ½áÊøÊ±¼ä      & ......

aspÒ³Ãæµ÷ÊÔÎÊÌâ

½¨ÁËÒ»¸öÕ¾µã£¬ÀïÃæÓÐ login.aspx. events.aspx µÈµÈ ÆäËûµÄÒ³Ãæ¡£


µ«ÊÇÎÒµ÷ÊÔ ÆäËûÒ³ÃæµÄʱºò£¬±Ä³öÀ´µÄ×ÜÊÇ login.aspx Ò³Ãæ¡£

¸Õѧasp ÇëÖ¸½Ì
ÄãÉèÖÃÆðʼҳÁ˰ɡ£¡£

¶÷ÔõôȡÏûÄØ£¿

Òªµ ......

ASP½µÐòÎÊÌâ

    <%
  Sql="select top 8 * from NewsData where d_classid in (select classid from NewsClass where ParentID=16)"
Rs.Open Sql, conn, 1,1
Do Until Rs.Eof ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ