Home > Net >  Rookie help: how to merge form?
Rookie help: how to merge form?

Time:03-12

Table 1

Unit department
A1 B1
A1 B2
A1 B3
A2 C1
A2, C2
A2 C3
A2 C4


Table 2

In

1 monthFebruary
March

Want to use Linq results are as follows, how should do?

Units in
A1 B1 January
A1 B1 February
A1 B1 march
A1 B2 January
A1 B2 February
A1 B2 march
A1 B3 January
A1 B3 February
A1 B3 march
A2 C1 January
February A2 C1
A2 C1 march
A2, C2 January
A2, C2 February
A2, C2 march
A2 C3 January
A2 C3 February
A2 C3 march
A2 C4 January
A2 C4 February
A2 C4 march

CodePudding user response:

Database is the problem? Is not a Linq?
SELECT * from t1 left join t2

CodePudding user response:

Thank you for your answer, the program in the list (of t), use the database so just have this question,
  •  Tags:  
  • LINQ
  • Related