It's possible this has to do with your tags - you don't seem to close them.
Try changing this:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
To this:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server" />
And do the same with your other controls, including the GridView