[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Gridview column and row dividers

Posted on 2007-10-18
Medium Priority
Last Modified: 2012-08-13
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.
Question by:ksfok
1 Comment
LVL 26

Accepted Solution

Rejojohny earned 2000 total points
ID: 20103625
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 {

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month18 days, 21 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question