I have a multiple DataKeyNames from a gridview that need to be set up on a detailview DataSource as SelectParameters. I tried the following code, but both parameter return the same value which is the first one:

<asp:ObjectDataSource ID="ods" Runat="server" TypeName="Test" SelectMethod="GetTestData">
<SelectParameters>
<asp:ControlParameter ControlID="gvw" Name="id_data" PropertyName="SelectedValue" Type="Int32" />
<asp:ControlParameter ControlID="gvw" Name="cde_data" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>