Click here to Skip to main content
15,905,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
iam need multi seach

i want when user Each of the fields can be filled in the picture below

Search results show the filling of fields

iam need this query with linq

http://1.graph.uphero.com/up/0aee3a5f4643.png[^]

C#
var Query = (from P in temp1.Vbuys
                        where P.Fage == Tage.text.trim()
                        select new { P.Tname, P.TFamil,P.Tage }).ToList();
Posted
Updated 31-Mar-13 20:41pm
v4

You might want to consider the predicatebuilder:
http://www.albahari.com/nutshell/predicatebuilder.aspx[^]
 
Share this answer
 
C#
var Query = (from P in temp1.Vbuys
                        where P.Fage == Tage.text.trim() && P.Famil==TFamil.text.trim() && P.name== Tname.text.trim() 
                        select new { P.Tname, P.TFamil,P.Tage }).ToList();
 
Share this answer
 

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