c# - How to use table instead of gridview? -
i dont know if question or bad or duplicate want ask favor. designer gave me grid design using html tables looks quite handsome when use same css classes in asp gridview totally looks different.
additional info: in project have used telerik grids. have tried applying css @ of no use. cant change designer css because our company.
now @ last want use same table designer gave me , use grid dont know how fill datatable?
1. gridview generates/renders code in difficult impossible modify. 2. stay away telerik well. 3. use bootstrap css, should happy bootstrap css framework above easily.
with bootstrap use classes class=table table-striped , have nice grid alternating row colors see in image posted.
with asp.net , use nuget , install bootstrap. reference in masterpage or layout.
i assume have styles overwrite designer gave you. perhaps if using stylesheets, make sure overwrite default styles. either omit style reference in master page etc... or place stylesheet references below default in asp.net web forms or mvc application. ( assume web forms masterpage since saying gridview).
Comments
Post a Comment