if no columns yet, you can add columns dynamically based on your table values like this:
If ds.Tables(0).Rows.Count > 0 Then
For i = 0 To ds.Tables(0).Rows.Count - 1
Me.GridView1.Columns.Add("yourColumnName",ds.Tables(0).Rows(i).Item("locationname"))
Next
End If
my previous answers were based on the assumptions that you already have columns and you just want to change the header text of your columns.