Search code examples
asp.netvb.netgridviewcode-reusedatagridtablestyle

Applying Existing Tablestyle to a Gridview


I'm working on a web-enabled version of our existing winforms project. Gridviews seem to be an ample replacement for the datagrids that we've been using. We have extensive table styles written for the old datagrids. Is it possible to reuse this code to apply a style to a gridview?

If a re-write is necessary, what is the best way to style the gridviews?


Solution

  • I don't think there is an easy way to port styled from datagrids to gridviews.

    You might consider using the CSS Friendly Control Adaptors as a mechanism for applying the styles: