I have following type
public class TransactionDetails
{
public int TransID {get; set;}
public List<string> OrderID { get; set; }
}
What should be the Linq query on the following table View (say Trans_View) to fill this TransactionDetails custom type with following data from view.
View record in following row format:
TransID OrderID
1 ABC
1 DEF
1 IJK
2 XYZ
2 PQR
Try this: