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

Gridview grid lines border disappear

Hello,

I have a Gridview and I have used the AutoFomat, when I run the page some of the Grid lines border disappear.  What is the best way to fix this issue?

Thank you!
0
Rad1
Asked:
Rad1
1 Solution
 
Rajar AhmedConsultantCommented:
Add GridLines="Both" on your gridview markup
<asp:GridView ID="gvData" runat="server" Width="50px" 
         AutoGenerateColumns="False" onrowdatabound="gvData_RowDataBound" 
            ondatabinding="gvData_DataBinding" BackColor="LightGoldenrodYellow" 
            BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" 
            GridLines="Both" >
,,,,,,,,,,,
</asp:GridView>

Open in new window


Meeran03
0
 
Rad1Author Commented:
Thank you!!!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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