You just missing. This command will apply the changes. It is my assumption that you are trying to update the GridView after page load. Following command will update Gridview and apply the changes you have made before this command. this statement should appear at the end of your formatting code and before End Sub.
Me.GridView.Update()
One more suggestion Switch statement is more suitable for your current scenario.
It will help you.
Cheers