´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
> Á¤¼ö´Ô / 俵´Ô / ä³Î´Ô/ Á» ºÁÁÖ¼¼¿ä... > > [a.asp] > ================ÀÚ¹Ù½ºÅ©¸³Æ® ºÎºÐ====================== > > function choicelocation() > { > url = document.f.area.value = ''; > location.href = "answer.asp"; > ========================================================= > > >
>
Áö¿ª¸íÀ» ¼±ÅÃÇÏ¿© ÁֽʽÿÀ.
>
¼¿ïƯº°½Ã
>
ºÎ»ê±¤¿ª½Ã
> ........................(»ý·«) >
>
¾ÆÆÄÆ®¸íÀ» ¼±ÅÃÇÏ¿© ÁֽʽÿÀ
>
°¥¿ùµ¿ ¾ÆÆÄÆ®
> > > .....ÀÌ·¸°Ô ¸¸µé¾î¼ ÀÌ ¼¿ïƯº°½Ã¸¦ Ŭ¸¯ÇÏ¸é ´ÙÀ½¿¡´Â ¼¿ï¿¡ > ÇØ´çÇÏ´Â °¥¿ùµ¿ ¾ÆÆÄÆ®µîÀÌ Ãâ·ÂµÇ°Ô ÇÒ·Á°í ÇÕ´Ï´Ù. > > ±×·±µ¥ SP(Stored Procedure)¸¦ »ç¿ëÇÏ¿©¼ ÇÏ¿©¾ß Çϰŵç¿ä. > > SELECT°¡ 1~5±îÁö°¡ ÀÖ½À´Ï´Ù. > ÀÌ ºÎºÐ ÀÌ¿ëÇÏ°í OnchangeÀ̺¥Æ®¿¡ Á¢¸ñÀ» ½Ãų·Á¸é > ¾î¶»°Ô Çϳª¿ä....(B.ASP¿¡ Ãâ·Â) > > SELECT_5: -- ȨÆäÀÌÁö Áö¿ª¿¡ µû¸¥ ÇöÀå¸í Á¶È¸ > SELECT B.DPTDES > FROM BCASITA0 A, > AACODEDB..AAASITA0 B > WHERE A.CDSITE LIKE 'K' + @SIDO + '%' > AND A.CDCOM = 'C' > AND A.ACTIVE = 'A' > AND B.CDDPT = A.CDSITE > AND B.CDCOM = A.CDCOM > ORDER BY B.DPTDES > > RETURN > GO > > ºü¸¥ ´äº¯ Á» ºÎŹÇÕ´Ï´Ù. > > ----------------------------------------------------------- 1. ÀÚ¹Ù½ºÅ©¸³Æ®·Î ¸®½ºÆ® ¹Ú½ºÀÇ ¼±Å𪠳ѱâ´Â ºÎºÐ (Æû À̸§: MyForm À̶ó°í °¡Á¤) function choicelocation(){ url = MyForm.area.value; location.href = "answer.asp?area="+url; } 2. µ¿ÀûÀ¸·Î Áö¿ª Á¤º¸ ¹Ù²Ù±â 1¹øÀÇ ·ÎÁ÷°ú´Â º°°³·Î óÀ½ Áö¿ªÁ¤º¸¸¦ DB·Î °¡Á®¿Ã¶§ ¸ðµç °ª(Áö¿ª¸í, ¾ÆÆÄÆ®¸í)À» °¡Á®¿ÂÈÄ ÀÚ¹Ù½ºÅ©¸³Æ® »ó¿¡¼ ¹è¿¿¡ ´ãµçÁö, ¾Æ´Ï¸é DHTMLÀÇ ½ºÅ¸ÀÏ ¼Ó¼ºÀ» ÀÌ¿ëÇÏ¿© ÇØ´ç Á¤º¸¸¦ ÆäÀÌÁö »ó¿¡ º¸ÀÌÁö ¾Ê°Ô ³ªÅ¸³½´Ù.
ÀÌ·± ½ÄÀ¸·Î ÇÏ¿© choicelocation()ÀÇ ÇÔ¼öºÎºÐ¿¡¼ ±¸ÇöÇÏ¿© Áö¿ª¸íÀÌ ¹Ù²ð¶§ ±×¿¡ ÇØ´çÇÏ´Â ¾ÆÆÄÆ®°¡ ¸®½ºÆ®¹Ú½º¿¡ ³ªÅ¸³ªµµ·Ï ·çÇÎ µ¹¸®¸é¼ ±¸Çö (¼Ò½º°¡ ±ä ÀÌÀ¯·Î ÇÏ¿© À̸¸Å¸¸.) "SELECT°¡ 1~5±îÁö°¡ ÀÖ½À´Ï´Ù." ÀÌ ±¸ÀýÀº ´Ù¼Ò ÀÌÇØ°¡ µÇÁö ¾Ê´Â ºÎºÐÀ¸·Î ÀÏ´Ü À§ Äõ¸® ¹®ÀåÀ» Áö¿ª¸íÀ» ÀÎÀÚ·Î ÇÏ¿© SP·Î ±¸ÇöÇϸé CREATE PROCEDURE SearchSite @SIDO varchar(30) AS BEGIN DECLARE @sql varchar(500) Set @sql = 'SELECT B.DPTDES FROM BCASITA0 A, AACODEDB..AAASITA0 B WHERE A.CDSITE LIKE ''K' + @SIDO + '%'' AND A.CDCOM = ''C'' AND A.ACTIVE = ''A'' AND CDDPT = A.CDSITE AND B.CDCOM = A.CDCOM ORDER BY B.DPTDES' EXEC (@sql) END ASPÄڵ忡¼ SPÈ£Ãâ AreaName = "Áö¿ª¸í" strQuery = "EXEC SearchSite '"& AreaName &"'" Set objRs = objCon.Execute (strQuery) Do While Not objRs.Eof Loop
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*