sql1 ="select top 1 * from baby_photos where id<"&id&" order by id desc" '上一页
sql2 ="select top 1 * from baby_photos where id>"&id&" order by id asc" '下一页
id类型为数字类型
sql2 ="select top 1 * from baby_photos where id>"&id&" order by id asc" '下一页
id类型为数字类型