<% OpenDatabase dim page_no, searchKey, searchType, sno ,ListArg mode = trim(request("mode")) sno = trim(request("sno")) page_no = trim(request("page_no")) searchKey = trim(request("searchKey")) searchType = trim(request("searchType")) if len(page_no) = 0 then page_no = 1 end if ListArg = "page_no="&page_no&"&searchKey="&searchKey&"&searchType="&searchType if mode <> "N" then sql = "select * from TB_BOARD Where sNo='"&sNo&"'" set rs = CreateObject("adodb.recordSet") rs.open sql,dbcon,1 if not rs.EOF then name = Trim(rs("name")) title = Trim(rs("title")) contents = Trim(rs("contents")) readcnt = Trim(rs("readcnt")) reg_dt = Left(Trim(rs("reg_dt")),10) end if rs.close set rs = nothing end if %> ::: 바비젼 :::
 
 
 
Home > 게시판




<% if mode = "N" then%> <% elseif mode="U" then%> <% else %> <% end if %>