You are missing an ん in both, but they mean the same thing.
なんねんせい is an inferred question. Because it starts with "what" なん you know it's a question without the marker か.
なんねんせいですか is a complete, grammatically correct question.
So it's kind of like the difference between asking "What grade are you in?" and "What grade?"