Let $X$ be an (infinite-dimensional) inner product space with an (countable) orthogonal system $\lbrace e_i \rbrace_{i \in \mathbb{N}}$. The field is $\mathbb{R}$ or $\mathbb{C}$. Here X may not be a Banach space. Suppose further that $Span(\lbrace e_i \rbrace_{i \in \mathbb{N}})$ is dense in $X$, do we still have infinite series representation of each element? i.e., I'm wondering if $\forall x \in X$, $\exists \lbrace a_n \rbrace \subseteq \mathbb{R}$ (or $\mathbb{C}$) such that $$x = \sum_{n=1}^{\infty} a_ne_n, \forall x \in X$$
If $X$ is a Hilbert space, then above is just a trivial application of Hilbert basis. I'm quite interested in the situation where $X$ is not complete. Any help or idea is appreciated.