Click here to Skip to main content
15,885,990 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
caml for add equal values 2lists items to display in(list3)

How to get the items from equal values from 2lists to display list3 with CAML Query OR even otherwise possible code...help me.
Note:There is no lookup columns in this two lists.

emp(list1)

ename eid dept
sss 102 hr
ffff 101 it
tttt 103 mgr

dept(list2)
eid location

101 mum
103 del
102 hyd

details(list3)
ename eid location
- - -
?
?

[edit] Corrected title case [/edit]
Posted
Updated 6-Dec-13 1:02am
v6
Comments
phil.o 5-Dec-13 6:30am    
Gently put your caps-lock down, and hands up!
More seriously:
- using all capitals words is considered as shouting, thus rude; please avoid this.
- the title is not meant to hold the question itself.
venuthella 6-Dec-13 7:29am    
sorry..!
Santosh Garg 5-Dec-13 12:23pm    
Below Link Help you to make you join query in CAML..

http://blogs.msdn.com/b/kaevans/archive/2012/01/20/sharepoint-2010-caml-list-joins.aspx

Thanks
Santosh K Garg
venuthella 6-Dec-13 7:31am    
hi santosh,
but in my requirement there is no lookup columns in each two lists. but i need to get equal items.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900