|
|
|
|
¹Ý¾ß / 2000-07-04 / ¿ÀÈÄ 5:20:20 / 210.207.238.52
Á¶È¸¼ö : 120
|
[Áú¹®] Á¶°ÇÁÖ¾î¼ ·¹ÄÚµå¼Â ¹è¿·Î ¿±â ¹®Á¦ |
---- ¿¡·¯ ¸Þ½ÃÁö ----
end °¡ ÇÊ¿äÇÏ´Ù°í ³ª¿Àµç°¡, ±¸¹®ÀÌ À߸øµÆ´Ù°í ³ª¿À³×¿ä.
---- ¿¡·¯¶óÀÎÀÇ ÄÚµå ----
<%
set db=server.createobject("ADODB.connection")
db.open(.....)
SQL2 = "SELECT * from ratio_ratio "
Set Rs2 = Server.CreateObject("ADODB.Recordset")
Rs2.Open SQL2,db
%>
<%if rs2.bof then ratio=0%><%=ratio%><%elseif not rs2.bof then ratio=rs2
(0).Fields("ratio") %><%=ratio%>
<%elseif isnull(rs2(1)) then ratio=0%><%=ratio%><%elseif <>isnull(rs2(1))
then ratio=rs2(1).Fields("ratio") f%><%=ratio%>
<%elseif isnull(rs2(2)) then ratio=0%><%=ratio%><%elseif <>isnull(rs2(2))
then ratio=rs2(2).Fields("ratio") %><%=ratio%>
<%elseif isnull(rs2(3)) then ratio=0%><%=ratio%><%elseif <>isnull(rs2(3))
then ratio=rs2(3).Fields("ratio") %><%=ratio%>
<%elseif isnull(rs2(4)) then ratio=0%><%=ratio%><%elseif <> isnull(rs2
(4)) then ratio=rs2(4).Fields("ratio")f%><%=ratio%>
<%elseif isnull(rs2(5)) then ratio=0%><%=ratio%><%elseif <>isnull(rs2(5))
then ratio=rs2(5).Fields("ratio") %><%=ratio%>
<% end if %>
---- Áú¹® ³»¿ë ----
ÀÌ ·ÎÁ÷Àº ratio¶ó´Â Ä÷³À» Çʵå Çϳª¾¿ ¿ÀÇÂÇÏ´Â ºÎºÐÀÔ´Ï´Ù.
ºä¿¡¼ ²ø¾î¿À´Â ºÎºÐÀ̱⠶§¹®¿¡ Çʵ尡 ¾øÀ» ¼öµµ ÀÖ°í, ÃÖ´ë 5°³ÀÖ½À
´Ï´Ù. ±×·¡¼, °¢°¢¿¡ ´ëÇؼ Á¶°ÇÀ» ÁÖ¾î¼ ²ø¾î¿À·Á°í Çϴµ¥, Àß ¾ÈµÇ
³×¿ä.
|
|
|
|