April 5, 2004

Enhance the Appearance of Your Web DataGrid

One way to enhance a Web DataGrid’s appearance is to alternate the background color of the row. This requires only two lines of code. For example, to display an even row as yellow, and an odd row as turquoise, you’d add the following lines in the Page_Load event: If Not