Answer
NaCHO$_2$ forms CHO$_2$- ions in solution. These ions react with H+ ions to form formic acid. This reaction takes H+ ions out of the solution, raising the pH.
Work Step by Step
A substance that will raise the pH of the solution is one that itself has a higher pH than the solution.
Another possibility occurs when a dissolved substance will take out H+ ions from the solution.