i need to paint only background of DataGridView cell not its Content.But while i\'m doing painting it paint its content too.Please help me out.
My code goes like th
Should be
e.Graphics.DrawLine(gridLinePen, e.CellBounds.Left, e.CellBounds.Bottom-1 , e.CellBounds.Right - 1, e.CellBounds.Bottom - 1);
e.CellBounds.Right, e.CellBounds.Bottom - 1 point would be erased by next cell.
e.CellBounds.Right, e.CellBounds.Bottom - 1