User-2059803096 posted
Hi all
I have a gridview with 2 datakeysName <asp:GridView ID="GridVendutoPivot" DataKeyNames="cd_ar,cd_do" ...
I have to pass these value to another gridview,
<asp:SqlDataSource ID="dsMovimenti" runat="server" SelectCommand=SELECT * FROM MyTab WHERE (([Cd_DO] = @Cd_DO) AND ([Cd_AR] = @Cd_AR)) ..
<SelectParameters>
<asp:ControlParameter ControlID="GridVendutoPivot" Name="Cd_DO" PropertyName="SelectedValue" Type="String" />
<asp:ControlParameter ControlID="GridVendutoPivot" Name="Cd_AR" PropertyName="SelectedValue" Type="String" />
</SelectParameters>
it doesn't work. Can you help me to understand? tks a lot
Massimiliano