Author: jkleber | Posted on: 6/23/2008 7:20:07 PM | Views : 297

I have a if statement with 3 conditions, if it meets the conditions then the row will turn yellow.
but it's not working.
How many operators can I have in a statement. this is my code please help
If Double.Parse (Me.CF.Text) < 48.897 and Double.Parse(Me.CF.Text) > 90.897 and (Me.SF.Text) = "1.5" Then
   
        ' Find the record row the field value is on.
        Dim recordRow As System.Web.UI.HtmlControls.HtmlTableRow
        recordRow = CType(Me.FindControl("MyTR"), System.Web.UI.HtmlControls.HtmlTableRow)
        ' This will be used for each cell on the row.
        Dim recordRowCell As System.Web.UI.HtmlControls.HtmlTableCell

        ' Set the background c ...

Go to the complete details ...