PDA

View Full Version : Conditional Formatting in my Update page?


simpleton
10-13-2008, 04:39 PM
I want to get conditional formatting (ie: colored rows) into my asp page.
I used this Multi-Update tut (http://www.webthang.co.uk/goto/tutorials/000170/?cat=2&tut=170) to get a cool update feature in my page..

So, now i don't know how to get an "IF" statement in there.
Here's my Repeat statement:

<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
rsFSDBNL_numRows = rsFSDBNL_numRows + Repeat1__numRows
%>


What should I do?

simpleton
10-17-2008, 03:59 PM
I never could find the answer, but I got a decent work-around...

My "Update" text field is either Update or Null/Blank.
So, all i did was just change the Text to Red.
Now when Update is visible, it's going to be Red.

It doesn't make for a pretty Row, but.. it does highlight the "Update" text.. which is what i wanted in the first place.

davidj
10-17-2008, 07:33 PM
you just qualified as our asp guru