If you look at the GridView declaration you'll see this attribute:
DataSourceID="SqlDataSource1"
This connects the GridView and the DataSource. The DataSource then implicitly maps the DataField attribute to the parameters:
<asp:BoundField DataField="Code"