perhaps it would help if you showed the vertex declaration for VertexPositionColor and vertex shader code too?
The vertex declaration? I'm assuming it's this line (it's the second line in the SetupGrid() method):
gridVertices = new VertexPositionColor[lineCount * 4];
As for vertex shader code.. Uhm what where ?