Dear milisers, Saya sedang belajar ASP nih. Ada beberapa pertanyaan tentang tabel dan SQL query...
Misalnya saya punya script seperti ini.. <!--#INCLUDE FILE="dbConnect.inc.asp"--> <% SQL = "select id, nama, jmlsetor from tblsetor where blnsetor=12" set rs=Con.Execute (SQL) If not (rs.eof) then rs.movefirst: no=1 while not (rs.eof) Response.Write ("<tr bgcolor='#fffccc'>") Response.Write ("<td>" & no & "</td>") Response.Write ("<td>" & rs("id") & "</td>") Response.Write ("<td>" & rs("nama") & "</td>") Response.Write ("<td>" & rs("jmlsetor") & "</td>") Response.Write ("</tr>") rs.MoveNext no = no+1 WEND END IF %> Dengan demikian maka data pada tblsetor akan ditampilkan dalam sebuah tabel. Tetapi warna ROW sama semua, #fffccc. Saya ingin tabel yang ditampilkan memiliki warna ROW berselang-seling. Jadi ROW1 <tr bgcolour="#fffccc">, trus baris ROW2 <tr bgcolour="#ffffff">, baris ROW3 kembali lagi <tr bgcolour="#fffccc">, dst. Bagaimana caranya? Kemudian, di akhir tabel saya ingin menambahkan Jumlah kumulatif dari kolom jmlsetor. Bagaimana perintahnya? Mohon pencerahannya... Salam, ARDIANSYAH ### Untuk mas Dimas, Thanx kembali. Alhamdulillah jika bisa digunakan dan bermanfaat. Soalnya saya sendiri belum pernah make One-4-All File Renamer itu :-) On Sat 2/19/2005 Dimas wrote... <Subject: Re[ITCENTER] Ngerubah dari JPEG ke JPG> >Wah mas Aridansyah, >Thx berat ya buat filenya, bener2 epefktif :D [Non-text portions of this message have been removed] -- www.ITCENTER.or.id - Komunitas Teknologi Informasi Indonesia Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] ::: Hapus bagian yang tidak perlu (footer, dst) saat reply! ::: ## Forum: ITCENTER.or.id/forum ## Jobs: ITCENTER.or.id/jobs ## Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ITCENTER/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/