如何更改颜色的备用记录 [英] how to change alternate bunch of records in colors
问题描述
实际上,在我的项目中,LocationInformation.asp是从sqlserver获取记录的...如果我再次添加了另一个附件的前一页,则转到History.asp.如果我再次仅在LocationInformation中添加了新添加的附件数据. asp的前一堆记录将追加到History.asp .....我的要求是通过颜色来区分History.asp中的一堆记录..这意味着如果我首先得到10条记录,它们是黑色的,其次我得到了5条以白色记录的记录...如果我再次获得第三束记录,那是黑色记录...所以黑白记录束...如果有人知道请帮助我...
Thankyou
Actually in my project, LocationInformation.asp iam getiing the attching records from sqlserver...when iam adding the another attchment previous page was going to History.asp.if i again adding the attachement newly coming data only in the LocationInformation.asp previous bunch of records will append into the History.asp.....My requirement is to differentiate the bunch of records inHistory.asp through colors..that means if i get firstly 10 records they are in black color and secondly i got 5 records these in white color...if i get 3rd bunch of records again it was black color...so black and white color bunch of records...please help me if any one know...
Thankyou
推荐答案
使用CSS.创建具有所需属性的类,并将其分配给适当的元素进行显示
Use CSS. Create a class with the desired attributes and assign it to the proper elements for display
这篇关于如何更改颜色的备用记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!