Hi! I have three table. Person , fruits and boughttable.
Id
|
Name
|
1
|
Rustam
|
2
|
Firuz
|
3
|
Asror
|
4
|
Nurullo
|
Id
|
Name
|
1
|
Apple
|
2
|
Orange
|
3
|
Cherry
|
4
|
Limon
|
5
|
Apricot
|
Id
|
PersonId
|
FruitId
|
1
|
1
|
2
|
2
|
1
|
1
|
3
|
2
|
3
|
4
|
2
|
5
|
5
|
1
|
3
|
6
|
1
|
5
|
7
|
2
|
4
|
8
|
2
|
2
|
9
|
3
|
3
|
10
|
3
|
5
|
11
|
4
|
1
|
12
|
4
|
4
|
Using Asp.Net show result in excel. For example:
Id
|
Name
|
Fruits
|
1
|
Rustam
|
Apple
|
2
|
|
Orange
|
3
|
|
Cherry
|
4
|
|
Apricot
|
5
|
Firuz
|
Orange
|
6
|
|
Cherry
|
7
|
|
Limon
|
8
|
|
Apricot
|
9
|
Asror
|
Limon
|
10
|
|
Apricot
|