dbgrid1.datasource.dataset.moveby(100);//设定每页的行数
postmessage(dbgrid1.handle,wm_keydown,vk_prior,0);//上一页
postmessage(dbgrid1.handle,wm_keydown,vk_next,0);//下一页
postmessage(dbgrid1.handle,wm_keydown,vk_up,0);//上一个
postmessage(dbgrid1.handle,wm_keydown,vk_down,0);//下一个