天天看點

ASP.NET 實作上一篇文章 下一篇文章

select top 1 * from job_hrnews where newsid>162  --下一篇 

select top 1 * from job_hrnews where newsid<162 order by newsid desc --上一篇

這篇源于網絡,網址已經忘記,敬請諒解!