'이전글
Sql1 = "select top 1 brd_seq, title,reg_dt from tbl_board where brd_seq = (select max(brd_seq) from tbl_board where brd_seq < "&seq&")"
'다음글
Sql2 = "select top 1 brd_seq, title,reg_dt from tbl_board where brd_seq = (select min(brd_seq) from tbl_board where brd_seq > "&seq&")"
댓글 없음:
댓글 쓰기