How to conditionally test results
What is the best solution for displaying on a web page page a
collection of records in where each record is to be conditionally
tested and then have their displays formatted according to the
results.
Example: A series of 50 records is retrieved from database consisting of a company name, company phone number and state. Also included in each record is a season code. Task is to display the company name, state and conditionally display the phone number. In cases where the records season code matches a predefined value the company name will appear in bold type and the phone number will display.
Do any of the .net 2.0 data controls allow you to conditionally format the appearance of record components as they are written to the
webpage?
|