Possibly you can try this
GridView1.DataSource = ds.Tables.DefaultView;
GridView1.DataSource = ds.Tables["<tablename>"].DefaultView;</tablename>
Since the Datasource property of the Gridview is not able to find any datasources you are getting the error.And before binding please try and check if the dataset has tables or not.If it has tables,point to the specific table for the DataSource of the grid and then bind it.
Try this It should work