You have specified the datasource both in the design time and the code-behind(run-time). You need to remove either of these two.

Other wise you try with following code:-

GridView1.DataS ource = ds;
GridView1.DataS ourceID = String.Empty;