ASP.NET Datagrids and border-style:collapse
Much to my surprise, ASP.NET writes code I don't ask it to write.
Maybe use the Repeater class instead of shoe-horning the Datagrid?
Repeater? But what about sorting, and editing? It's a datagrid I want- I just want to use *my* CSS. How is this 'shoehorning'?
See here for an explanation and workaround:
The ASP.NET datagrid isn't a generic, "be-all" data grid that MS benevolently (and freely, I might add) put into the framework. It has limited functionality and is meant to be a simple grid, though you can find workarounds all over the net for people trying to get the datagrid to do things it's not necessarily meant to do. If you want to do stuff it's not meant to do, then that's shoehorning, I would say.
Ahh, I see. So the Datagrid isn't really a Datagrid, it's a SimpleGrid. Makes perfet sense!
Fog Creek Home