Last post Aug 07, 2017 09:12 AM by Eric Du
Aug 07, 2017 06:46 AM|mazhar khan india|LINK
Actually I am not getting any logic using nested repeater asp.net c#.
Below is my sql Table
DocID Title FileAttachment Session
69053 s3 time table s3 time table_UserDetails.xls Session-3
1616 Notice Notice_UserDetails.xls Session-1
67792 recruiment recruiment_UserDetails.xls Session-2
1616 Tesing Testing_UserDetails.xls Session-1
I want Output like below data session wise in Nested Repeater.
Notice Notice_UserDetails.xls Session-1
Tesing Testing_UserDetails.xls Session-1
recruiment recruiment_UserDetails.xls Session-2
s3 time table s3 time table_UserDetails.xls Session-3
Or Any other logic to achieve above output and Session-1 should be first order by ascending Session-1, Session-2 and Session-3.
Aug 07, 2017 09:12 AM|Eric Du|LINK
Hi mazhar khan india,
According to your needs, as far as I know, you could order this field in select command, then select the related data in the
OnItemDataBound event through session field.
For more details, please refer to the following sample:
Implement Nested Repeater (Repeater inside Repeater) with example in ASP.Net using C# and VB.Net: