I want a linq query with dynamic where clause.
Following is explanation of problem:
Following line returns me n no of rows.
IEnumerable<XElement> xeleRows = (from xele in xdocFile.Root.Elements(strCtlLookUpXMLNode) select xele);
structure of xeleRows will be like:
Now I want to get one row from N Number of rows on basis of filter criteria that can be dynamic, the no of columns in filter criteria will vary at run time.
Anybody know shows to achieve this using Linq. Please guide.
View Complete Post