How To: Adding VBScript to ASP page to alternate row colors in FrontPage Database Results Wizard query resultsSUMMARYVBScript can be added to a page created by the Database Results Wizard to alternate the row colors when displaying data. MORE INFORMATIONIn HTML View add the five lines below the <body> tag. Change the bgcolor values to suite your needs. Locate the Database Results Wizard tag that looks similar to the following.
Just below the Database Results Wizard tag is the first line of the table that start with a <tr> tag. Add the following just below Database Results Wizard tag and before the <tr> tag. Edit the <tr> so it looks like the following. |