Define global site style for asp:GridView with plain CSS (without using VS Skins)

前端 未结 3 1472

I am working on a fairly large aspx web project with extensive use of asp:GridViews

I\'d like to use CSS to define in one place how all gridviews will look, by defau

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-01 05:00

    The Gridview will render as an HTML table. You can assign it a class and style it like you would any other table. I don't know much about VS Skins but I've styled plenty of gridviews this way.

提交回复
热议问题