A
Alex
Hello .
I have the following situation :
let's say I have 2 tables : Orders , Customers ( the classic simple case
, eh ?)
Orders has a field CustomerId - which is of course a FK to ID field in
Customers
Now I have to display something like this in a report :
For a specific customers ( user selects them earlier - I can't know
ahead how much
customers will be selected .)
I have to show for each customer selected , a table with his orders .
example:
Customer Id : X
orderId |order name |quantity |product .
123 fdfs 2 fdfds
34 sdfd 5 gdfgfd
3 bh 9 jhgg
Customer Id : Y
orderId |order name |quantity |product .
54 fdsf 3 fdsf
The question is : Is there a way to do that with Repeater control .
I know I can just write a code to do that which just uses Response.Write of
tables ,
using the logic of creating table for each customer selected .
And I actually already wrote that code .
But I want to make a nicer solution of this - using Repeater.. or any other
control if possible .
Thanks
I have the following situation :
let's say I have 2 tables : Orders , Customers ( the classic simple case
, eh ?)
Orders has a field CustomerId - which is of course a FK to ID field in
Customers
Now I have to display something like this in a report :
For a specific customers ( user selects them earlier - I can't know
ahead how much
customers will be selected .)
I have to show for each customer selected , a table with his orders .
example:
Customer Id : X
orderId |order name |quantity |product .
123 fdfs 2 fdfds
34 sdfd 5 gdfgfd
3 bh 9 jhgg
Customer Id : Y
orderId |order name |quantity |product .
54 fdsf 3 fdsf
The question is : Is there a way to do that with Repeater control .
I know I can just write a code to do that which just uses Response.Write of
tables ,
using the logic of creating table for each customer selected .
And I actually already wrote that code .
But I want to make a nicer solution of this - using Repeater.. or any other
control if possible .
Thanks