HTML
Javascript
Flash Actionscript
PHP
mySQL
ASP
MS-SQL
Linux
Others
Ziwoo Board
Portfolio
About
ASP
ÀÛ¼º  2007-03-19 07:42:04   Ãßõ: 85   Á¶È¸: 11322
Á¦¸ñ  Redim() ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ µ¿Àû¹è¿­ »ç¿ë
À̸§(ID)  Áö¿ì (ziwoo)
ASP¿¡¼­ Redim()ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ µ¿Àû¹è¿­ ó¸®ÀÇ ÂªÀº ¿¹Á¦ÀÔ´Ï´Ù. Redim()ÇÔ¼ö´Â ¹è¿­ÀÇ Å©±â¸¦ Á¶Á¤ÇÒ¶§ ¾²¸ç
±âÁ¸ÀÇ ¹è¿­¿¡ ÀúÀåµÈ °ªÀº º¸Á¸µÇÁö ¾Ê½À´Ï´Ù. ±âÁ¸ °ªÀ» º¸Á¸Çϱâ À§Çؼ­´Â Redim()ÇÔ¼ö¿Í Preserve¶ó´Â ÆÄ¶ó
¹ÌÅͰ¡ ÇÔ²² »ç¿ëµÇ¾î¾ß ÇÕ´Ï´Ù. ¾Æ·¡ ¿¹Á¦´Â 100°³ÀÇ µ¿Àû¹è¿­À» Àâ°í °ªÀ» ÇÒ´çÇÕ´Ï´Ù.

<%
Dim nArray()
nCount = 100 'µ¿Àû¹è¿­ÀÇ Å©±â'

For i = 0 to nCount
ReDim Preserve nArray(i) 'ReDim()ÇÔ¼ö¿Í Preserve ÆÄ¶ó¹ÌÅ͸¦ »ç¿ë
nArray(i) = i '¹è¿­¿¡ °ªÀ» ÇÒ´ç
Next

'¹è¿­¿¡ ÇÒ´çµÈ °ªÀ» È®ÀÎÇÕ´Ï´Ù.
For i = 0 to Ubound(nArray)
Response.Write "(" & i & ")ÀÇ °ª: " & nArray(i) & "<br>"
Next
%>
µ¡±Û (1)
Áö¿ì(ziwoo) 2010-03-21 19:24:08
ÀÌ·± Á¨Àå..
´ÙÂ÷¿ø ¹è¿­¿¡¼­ Preserve ¸¦ ÀÌ¿ëÇØ µ¿ÀûÀ¸·Î Ãß°¡ÇÒ °æ¿ì¿¡´Â..
¸Ç ¸¶Áö¸· Â÷¿øÀÇ Å°°ª¸¸ °¡º¯À̶ó´Â±º¿ä..
¾ðÁ¦³ª ´À³¢Áö¸¸.. ASP´Â Âü ´ä´äÇÑ ¾ð¾î °°½À´Ï´Ù.
¹øÈ£ Á¦¸ñ À̸§ ³¯Â¥ Ãßõ Á¶È¸
13 ¹è¿­ÀÌ ÁøÂ¥, Á¤¸», È®½ÇÈ÷ Null ÀÎÁö üũ.. Áö¿ì 2010-05-20 66 7622
12 ¿¡µðÆ®Ç÷¯½º Á¤±Ô½Ä Àϰý ġȯ Áö¿ì 2010-03-21 63 3106
11 ASP¿ë md5 ÀÎÄÚµù ÇÔ¼öÀÔ´Ï´Ù.ÆÄÀÏ Áö¿ì 2007-09-19 98 6861
10 ¿¡·¯¹ß»ýÀ» ¹«½ÃÇÏ´Â On Error Resume Next[1] Áö¿ì 2007-03-20 80 3829
9 Redim() ÇÔ¼ö¸¦ ÀÌ¿ëÇÑ µ¿Àû¹è¿­ »ç¿ë[1] Áö¿ì 2007-03-19 85 11322
8 RegExp.Test() ¸Þ¼Òµå¿Í RegExp.Execute.. Áö¿ì 2007-03-19 90 4674
7 ÄíŰ »ç¿ë¹ý Áö¿ì 2007-03-18 74 2549
6 ABC ¾÷·Îµå ÄÄÆÛ³ÍÆ® V4.1 ÆÄÀÏ ¹× »ùÇÃÆÄÀÏ Áö¿ì 2007-03-15 95 6852
5 Re: ABC ¾÷·Îµå ÄÄÆÛ³ÍÆ®[2] Áö¿ì 2007-03-16 91 13939
4 ÀÚµ¿¸µÅ© ÇÔ¼ö Áö¿ì 2007-03-14 78 2134
3 ¹«·á À̹ÌÁö ¸®»çÀÌÁî(GDI) - ³ª´©¹Ì ÄÄÆÛ..ÆÄÀÏ Áö¿ì 2007-03-13 75 17093
2 Dictionnary °´Ã¼, Scripting °´Ã¼ Áö¿ì 2007-03-08 79 3007
1 Á¦3»ç Äí۰¡ ±¸¿öÁöÁö ¾ÊÀ»¶§ °­Á¦ ¼³Á¤ÇÏ.. Áö¿ì 2006-05-11 93 6618
[1]
Á¦¸ñ ³»¿ë À̸§  
ziwooboard v1.0
Contact Phone Number
Bank Account number
ns1.ziwoo.net (119.199.174.18)
ns2.ziwoo.net (119.199.174.18)
Naver BLOG : http://blog.ziwoo.net
Family Homepage : http://home.ziwoo.net
Copyright ¨Ï 2006 By Ziwoo.net All right reserved. Administrator.ziwoonet@naver.com