i do have 2 c# declaration table , it column initialise during the creation of the program.
i wanted to join this table base on its UserID and UserName.
My Code is like following
from nSJL in UserList.AsEnumerable()
join SJL in UserListOnline.AsEnumerable()
on
new { nSJL.Field<int>("UserID"), nSJL.Field<string>("UserName") }
equals
new { nSJL.Field<int>("UserID"), nSJL.Field<string>("UserName") }
into sjList
in this code i am getting the error
Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.
Anyway to join anonymous type?