• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1370
  • Last Modified:

Gridview column and row dividers

How can blank paddings be taken out completely and thin silver dividers be placed between column groups and rows in a gridview? Please kindly provide samples. Thanks.
1 Solution
try and search for themes and skins for gridview

or try applying style as shown below

from http://www.jigar.net/howdoi/viewhtmlcontent197.aspx
<asp:GridView runat="server" ID="gridView"
                      CSSClass="tabulardata" CellSpacing="1"

<style type="text/css">
        TABLE.tabulardata {
              BACKGROUND-COLOR: #74aefa;
        TABLE.tabulardata TR {
              BACKGROUND-COLOR: white;
        TABLE.tabulardata TH {
              BACKGROUND-COLOR: blue;
        TABLE.tabulardata TD {
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now