Hi all,
Following up on the question here: http://stackoverflow.com/questions/3936389/complex-editing-on-a-gridview-in-c
I have the following example gridview:
What I'm trying to do is that whenever I click on "Edit", the Leaves At column becomes a gridview in which the Hours for the respective date appear. However, I don't know how to retrieve the respective date as a parameter for the child GridView's dataSource.
For example, I have tried:
<SelectParameters>
<asp:ControlParameter ControlID="cphContent$EntryDate" Name="pDate"
PropertyName="MyDate" Type="DateTime" />
</SelectParameters>
But it doesn't work, and even if it did how can I tell its retrieving the respective date for the selected row?
If anyone knows a better approach it would be much appreciated.
Thanks in advance, Eton B.