Hi,
Just add DataKeyNames="Reference" to your first GridView,
Then in the linked SqlDataSource of the second GridView, get the selected value
<SelectParameters>
<asp:ControlParameter ControlID="GridView1" Name="Reference"
PropertyName="SelectedValue" />
</SelectParameters>