Hi
I have two grids. when you select a row from the first grid, using the values from the selected row I need to populate the second grid.
The first grid has two datakeynames="one,two"
Now I need to
I have two grids. when you select a row from the first grid, using the values from the selected row I need to populate the second grid.
The first grid has two datakeynames="one,two"
Now I need to
<
asp:SqlDataSource ID="dsStudentGradeHistory" runat="server"
<SelectParameters>
<asp:ControlParameter ControlID="firstgrid" Type="Int32" DefaultValue="-1" Name="one" PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="firstgrid" Type="Int32" DefaultValue="-1" Name="two" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
and then bind the data to the second grid.
But what happens is that the second parameter gets one value as you could expected.
How to assign with correct values for the parameters?
Thanks
Toby