|
|
|
|
Á¤¼ö / 2001-01-10 / ¿ÀÈÄ 3:21:06 / 211.181.157.44
Á¶È¸¼ö : 156
|
[Áú¹®] °Ë»ö ·¹ÄÚµå¼ö...
|
> > ÇϽðíÀÚ ÇÏ´Â°Ô ¹ºÁö¿ä?
> >
> > ¼ýÀÚ°ªÀº Àдµ¥ ÇѱÛÀÌ ¾È ¹Þ¾Æ Áø´Ù´Â°Ô....
> >
> > CInt¶ó´Â°Ç ¼ýÀÚÇüÀ¸·Î ¹Ù²Ù´Â ÇÔ¼öÀÔ´Ï´Ù.
> >
> > result=cint(rs1(0))
> >
> > ÀÌ·¸°Ô ÇϽøé rs1(0)ÀÇ ¸®ÅÏ°ªÀÌ ÇѱÛÀ϶§´Â ´ç¿¬È÷ ¿¡·¯°¡ ³³´Ï´Ù....
> >
> > result=rs1(0)
> >
> > ÀÌ·¸°Ô ÇϽðíÀÚ Çϴ°ǰ¡¿ä? ¾Æ´Ô ¼ýÀÚ·Î ¹Ù²ã¼ ¹Þ°í ½Í´Ù´Â°Ç°¡¿ä?
> >
> >
> -----------------------------------------------------------
>
> °Ë»öÇÑ ÃÑ °³¼ö¸¦ ±¸ÇÒ·Á±¸ Çϴµ¥...
-----------------------------------------------------------
¿øº»,,,
sql="Select a.title2, a.name, b.title2, b.name FROM ÀÛ¾÷ a, love b WHERE
a.title2 like ('%" & keyword & "%') and a.title2 = b.title2 "
Set rs1=DbCon.Execute(sql)
¼öÁ¤º»
sql="
Select count(*) as ct
FROM ÀÛ¾÷ a, love b
WHERE a.title2 like ('%" & keyword & "%') and a.title2 = b.title2 "
Set rs1=DbCon.Execute(sql)
intCount=Rs(0)
¶Ç´Â
intCount=Rs("ct")
ÀßÀº ¸ð¸£Áö¸¸ WhereÀý¿¡¼ ÀÌ¹Ì ÇÊÅ͸µÀÌ µÇ¾ú±â¶§¹®¿¡ ±»ÀÌ Select¿Í From»çÀÌ¿¡ ´Ù¸¥ Ä÷³ÀÌ µé¾î °¥ ÇÊ¿ä°¡ ¾øÀ»°Í °°³×¿ä...
ÀÌ»óÀÔ´Ï´Ù.. |
|
|
|