kalo pengen kayak di google itu harus pake trik. biasanya programmer2 asp atau web
terbiasa melakukan hal ini. kalo nggak bakal "meledak" servernya. pertama kali gw
programming web dengan gaya delphi hasilnya web gw crash seminggu sekali. he he he...
ini trik sql-nya:
misalnya tabel customer dengan key custid dan isinya ampe 500rb record. caranya ambil
yg loe perluin aja.
nah, ada varible yg musti dibuat dulu:
pagesize,pagenum
select top [pagesize] * from customer where custid in(select top
[pagesize*(pagenum-1)] custid from customer)
jadi kalo mau ambil page ke 2 dengan ukuran halaman 10 rec/hal:
select top 10 * from customer where custid in(select top 10 custid from customer)
nah, cara ini lebih hemat memori kan? karena ambil yg perlu aja.
Tapi kalo nggak mao pusing, mending pake ADO aja, tinggal isi property pagesize-nya
saja dan tentukan absolutepage nya apa. absolutepage itu pagenum yg kita inginkan.
ttd
Kudanil Developer
Nah, itu dia saya juga bingung, penginnya kayak www.google.com itu
lho, cuepetttt banget... sampe :P~ (ngiler) ngelihatnya...
The information contained in this email is or may be confidential, legally privileged,
and proprietary in nature or otherwise protected by law from disclosure and is
intended solely for the use of the addressee. If you are not the intended recipient,
you are hereby notified that any disclosure, dissemination, distribution, copying or
use of any part of this mail is strictly prohibited and unlawful. If you received this
email in error, please immediately notify the sender and delete it from your system.
Thank you.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Upgrade to 128-Bit SSL Security!
http://us.click.yahoo.com/p7cEmB/s7qGAA/yigFAA/i7folB/TM
---------------------------------------------------------------------~->
Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/