title: grid lines are not displaying in grid view
body: <p>I am trying to display data in grid view from database. I have drag and drop grid view and bound it to SQL data source.Everything is working fine but grid lines are not displaying. Please help me out this.</p>
  
  <p>here is my code:</p>
  
  <pre><code>&lt;%@ Page Title="" Language="C#" MasterPageFile="~/secured/secured.Master" AutoEventWireup="true" CodeBehind="GetReport.aspx.cs" Inherits="Activity.secured.WebForm1" EnableEventValidation="false"%&gt;
  
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server"&gt;
      &lt;style type="text/css"&gt;
      #MainContent_GridView1 {
      border: solid 1px Black !important;
     }
          &lt;/style&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server"&gt;
      &lt;div style="overflow-x:scroll;width:1100px"&gt;
      &lt;asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
           AutoGenerateColumns="False" DataKeyNames="ACTIVITY_ID" 
           DataSourceID="SqlDataSource1" CaptionAlign="Top" AllowSorting="True" 
           CellPadding="0" CellSpacing="1" HorizontalAlign="Center"&gt;
          &lt;Columns&gt;
              &lt;asp:BoundField DataField="ACTIVITY_ID" HeaderText="ACTIVITY_ID" ReadOnly="True" SortExpression="ACTIVITY_ID" &gt;
              &lt;/asp:BoundField&gt;
              &lt;asp:BoundField DataField="ACTIVITY_TYPE" HeaderText="ACTIVITY_TYPE" SortExpression="ACTIVITY_TYPE" &gt;
              &lt;/asp:BoundField&gt;
              &lt;asp:BoundField DataField="TICKET_ID" HeaderText="TICKET_ID" SortExpression="TICKET_ID" &gt;
              &lt;/asp:BoundField&gt;
              &lt;asp:BoundField DataField="TICKET_CATEGORY" HeaderText="TICKET_CATEGORY" SortExpression="TICKET_CATEGORY" /&gt;
              &lt;asp:BoundField DataField="TICKET_DESCRIPTION" HeaderText="TICKET_DESCRIPTION" SortExpression="TICKET_DESCRIPTION" /&gt;
              &lt;asp:BoundField DataField="ACTIVITY_DESCRIPTION" HeaderText="ACTIVITY_DESCRIPTION" SortExpression="ACTIVITY_DESCRIPTION" /&gt;
              &lt;asp:BoundField DataField="MODULE" HeaderText="MODULE" SortExpression="MODULE" /&gt;
              &lt;asp:BoundField DataField="PRIORITY" HeaderText="PRIORITY" SortExpression="PRIORITY" /&gt;
              &lt;asp:BoundField DataField="RESOURCE_NAME" HeaderText="RESOURCE_NAME" SortExpression="RESOURCE_NAME" /&gt;
              &lt;asp:BoundField DataField="CREATION_DATE" HeaderText="CREATION_DATE" SortExpression="CREATION_DATE" /&gt;
              &lt;asp:BoundField DataField="ASSIGNMENT_DATE" HeaderText="ASSIGNMENT_DATE" SortExpression="ASSIGNMENT_DATE" /&gt;
              &lt;asp:BoundField DataField="COMPLITION_DATE" HeaderText="COMPLITION_DATE" SortExpression="COMPLITION_DATE" /&gt;
              &lt;asp:BoundField DataField="STATUS" HeaderText="STATUS" SortExpression="STATUS" /&gt;
              &lt;asp:BoundField DataField="REMARKS" HeaderText="REMARKS" SortExpression="REMARKS" /&gt;
              &lt;asp:BoundField DataField="EFFORTS" HeaderText="EFFORTS" SortExpression="EFFORTS" /&gt;
          &lt;/Columns&gt;
          &lt;EditRowStyle BackColor="White" BorderColor="Black" BorderStyle="Solid" BorderWidth="0px" /&gt;
      &lt;/asp:GridView&gt;
          &lt;/div&gt;
      &lt;div&gt;
          &lt;asp:Button ID="btnExport1" runat="server" Text="Export to Excel" OnClick="btnExport1_Click"/&gt;
      &lt;/div&gt;
  
      &lt;/asp:SqlDataSource&gt;
  &lt;/asp:Content&gt;
  </code></pre>