I have the first query:
queryMuaj.Query = "<OrderBy>" +
"<FieldRef Name ='testb' Ascending = 'TRUE'/>" +
"</OrderBy>" +
"<Where>" +
"<And>" +
"<Geq>" +
"<FieldRef Name='testb' />" +
"<Value Type='DateTime' IncludeTimeValue='FALSE'>" + startDateFx + "</Value>" +
"</Geq>" +
"<Leq>" +
"<FieldRef Name='testb' />" +
"<Value Type='DateTime' IncludeTimeValue='FALSE'>" + endDatFx + "</Value>" +
"</Leq> " +
"</And>" +
"</Where>";
And I have the second qyery:
query.Query = @"<Where><Eq>
<FieldRef Name='Team' />
<Value Type='Text'>" + selvalcomp+ @"</Value>
</Eq></Where>"
And I want to merge the 2 queries into a single query how can I do this? HELP ME PLEASE
Thanks.