[問題] 請問如何在秀出的資料錄上加上不同顏色

看板Web_Design作者 (22)時間16年前 (2009/08/20 15:47), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/5 (看更多)
<% Response.Write "<Tr>" For I=0 To RS.Fields.Count-1 Response.Write "<Td>" & RS(I).Name & "</Td>" Next Response.Write "</Tr>" ===希望資料錄欄抬頭有顏色========以上 Do While ((Rcount<RS.PageSize) And (Not RS.Eof)) Response.Write "<Tr>" For I=0 To RS.Fields.Count-1 Response.Write "<Td>" & RS(I).Value & "</Td>" Next Response.Write "</Tr>" RS.MoveNext Rcount=Rcount+1 Loop %> ========希望在資料錄內容中單樹跟偶數筆資料能有不同顏色作為分別===以上 希望有經驗的大大幫幫忙~小弟是ASP新手~感謝各位 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.59.1.60

08/20 20:19, , 1F
問題一應該是把你最上面那個response.write"<tr>" 做變化
08/20 20:19, 1F
文章代碼(AID): #1AZFzths (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #1AZFzths (Web_Design)