473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP Records & Repeat Regions

Hello,

I want to create a table with records from a database but I want the
background colour of each row to be different. For example:

Record 1 - blue background
Record 2 - white background
Record 3 - blue background
Record 4 - white background
Record 5 - blue background
Record 6 - white background.... etc.....

I am able to do repeating regions but I do not know how (or if its
possible?!) to change the background colour of the row afterwards. On
the other hand I can repeat two rows that have the colours already set
but I cannot get the second record to appear in the second row before
it is repeated. Again I have no idea if it is actually possible?!

If anyone can help it will be greatly appreaciated.

Regards, Gareth

Nov 16 '06 #1
2 1519
<gj********@volcanomail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hello,

I want to create a table with records from a database but I want the
background colour of each row to be different. For example:

Record 1 - blue background
Record 2 - white background
Record 3 - blue background
Record 4 - white background
Record 5 - blue background
Record 6 - white background.... etc.....

I am able to do repeating regions but I do not know how (or if its
possible?!) to change the background colour of the row afterwards. On
the other hand I can repeat two rows that have the colours already set
but I cannot get the second record to appear in the second row before
it is repeated. Again I have no idea if it is actually possible?!
http://www.google.co.uk/search?hl=en...e+Search&meta=

--
Mike Brind
Nov 16 '06 #2
Thanks Mike! Was trying to make it too complicated when a simple search
for alternate colours would have done!

Thanks again, Gareth
Mike Brind wrote:
<gj********@volcanomail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
Hello,

I want to create a table with records from a database but I want the
background colour of each row to be different. For example:

Record 1 - blue background
Record 2 - white background
Record 3 - blue background
Record 4 - white background
Record 5 - blue background
Record 6 - white background.... etc.....

I am able to do repeating regions but I do not know how (or if its
possible?!) to change the background colour of the row afterwards. On
the other hand I can repeat two rows that have the colours already set
but I cannot get the second record to appear in the second row before
it is repeated. Again I have no idea if it is actually possible?!

http://www.google.co.uk/search?hl=en...e+Search&meta=

--
Mike Brind
Nov 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: duncan.lovett | last post by:
PHP 4 MySQL 4.0.20 DW MW 2004 7.01 This problem is giving me a bit of a headache, and I'm getting nowhere with it so thought I'd open it up to all, any help would be greatly appreciated. ...
5
by: crispy | last post by:
On this page, you'll see that some PubID's are repeated several times: http://www.ihea.info/pages/website/test1.asp That's because some records have more than one attribute. For example, Title...
71
by: ROSY | last post by:
1. How would you use the functions memcpy(), memset(), memmove()?
7
by: sathyashrayan | last post by:
Group, Following function will check weather a bit is set in the given variouble x. int bit_count(long x) { int n = 0; /* ** The loop will execute once for each bit of x set,
1
by: DazedAndConfused | last post by:
Is it proper to structure your code in the basic work flow of the program? i.e. Form_Load
11
by: Robert Baer | last post by:
The following passes the test as valid, and the mouseover for the six indicated areas also work. I need various areas to link to another page, including the six mentioned. However either the MAP...
10
by: Robert | last post by:
How do you get an accurate count of the number of records returned from a query when using linked tables. I have an access 2003 database as a front end to another access 2003 database that...
3
by: KimberlyM | last post by:
This has been driving me crazy. I hope someone can help. The site displays perfectly in FF but all div's do not show in IE. Please help me find the problem! Thanks! Here is my css. ...
1
by: Brit | last post by:
I have an ASP file that retrieves names from an Access database for 4 different categories of membership, which the visitor to the page selects (corporate, institutional, regular, or student). The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.