What a pity you didn’t write the classes!
You seem to have an IQueryable
sequence of ta_kegiatan_renja
objects, and you assume that every ta_kegiatan_renja
object has a property Kd_Urusan
. The error says that a ta_kegiatan_renja
doesn’t have such a property.
The requirement you wrote has nothing to do with the code that you gave us, besides, this code apparently doesn’t do what you want. So if you give us the relevant parts of your classes and the requirement, then maybe we can help you more
1
solved How to Fix error use join where distinct count in linq c#