change the
GridLines[
^] Property to
Horizontal
or
Both
GridLines="Horizontal"
<asp:gridview runat="server" id="Gridstoremanager" autogeneratecolumns="false"
GridLines="None" AllowPaging="true" OnPageIndexChanging="Gridstoremanager_PageIndexChanging" PageSize="10" CssClass="table" Width="100%" EmptyDataText="Store Manager Not Found!!!" OnRowDataBound="Gridstore_RowDataBound">
Create Row Created Event for the gridview and update it as
protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
for (int i = 0; i < e.Row.Cells.Count; i++)
{
e.Row.Cells[i].Style.Add("border-bottom", "3px solid red");
}
}
}