how can i change column in gridview with css in visual studio 2005. my table has 5 rows and 4 columns.if i want to change 3 rd column can i change entire column or i must change separately. because i want to create class for properties for the column. did i have to put class in every <td class =""> for that column or i can change entire column.
how can i change column in gridview
Collapse
X
-
Haven't a clue how you would do it in vs or asp.net. In html, it would look like this:
Code:<style type="text/css"> .col1{background-color:green} </style> <body> <table> <colgroup></colgroup> <colgroup><col class="col1"> <colgroup><colgroup> <tr> <td>1</td><td>2</td><td>3</td> </tr> <tr> <td>1</td><td>2</td><td>3</td> </tr> </table> </body>
Comment