|
|
|
|
俵ÀÌ / 2000-05-24 / ¿ÀÈÄ 8:42:43 / 203.255.3.190
Á¶È¸¼ö : 142
|
[Áú¹®] [Áú¹®]ÀÌ ±¸¹® Á» ºÁÁÖ¼¼¿ä?< |
> set Db=Server.CreateObject("ADODB.Connection")
> Db.Open("dsn=ShowDb;uid=;pwd=;")
>
> sql="select * from member where mem_id='" & id & "'"
>
> set rs=Server.CreateObject("ADODB.Recordset")
> rs.Open sql,db,1
>
> ssn=rs("mem_ssn") <== ¿¡·¯
> ssn=Split(ssn,"-")
> ssn1=ssn(0)
> ssn2=ssn(1)
>
> 'post=(rs("mem_post")) <==¿¡·¯
> post=Split(post,"-")
> post1=post(0)
> post2=post(1)
>
> phone=rs("mem_phone") <==¿¡·¯
> phone=Split(phone,"-")
> phone1=phone(0)
> phone2=phone(1)
> ..................................ÀÌ»ó ¿¡·¯ ÄÚµå
> mem_ssn(ÁֹιøÈ£) :730418-1025632
> mem_post(¿ìÆí¹øÈ£) : 132-620
> mem_phone(ÀüȹøÈ£) : 042-5257500
> ÀÌ·±½ÄÀ¸·Î DB¿¡ µé¾î°¡ ÀÖ¾î¼ '-'À» ±¸ºÐÇÏ¿© µû·Î
> º¯¼ö¿¡ ÀúÀåÇÏ°í ½ÍÀºµ¥ À§ÀÇ ¹®¹ýÀ¸·Î ÇÏ¸é µÇÁú¾Ê´õ±º¿ä
> Çѹø ºÁÁֽðí Ʋ¸°°÷Á» °¥ÄÑÁÖ¼¼¿ä..
> ÁÁÀº ´äº¯ ±â´Ù¸®°ÚÀ¾´Ï´Ù. ²Ù¹÷
>
-----------------------------------------------------------
ss=rs("mem_ssn")
ssn=Split(ss,"-")
ssn1=ssn(0)
ssn2=ssn(1)
ÀÌ·¸°Ô ÇØ º¸¼¼¿ä....
¾ÈµÇ¸é...
dim ssn
ss=rs("mem_ssn")
ssn=Split(ss,"-")
ssn1=ssn(0)
ssn2=ssn(1)
ÀÌ·¸°Ô... ^^;
±×·³...
|
|
|
|