Hello Friends,
Please help me for below query???
how to apply in below query where condition with && and || operatore????
in below query i have only one where x => x.Name.Contains(name)
return Json(context.Master1.Where(x => x.Name.Contains(name)).Select(s => s.Name).ToArray(), JsonRequestBehavior.AllowGet);
Loading

Michal HabalcikPosted Dec 17, 2014, 4:33 AM
e.g.:
.Where(x => x.Name.Contains(name) && x.Name == "AAA").
Mukesh Kumar TiwariPosted Dec 17, 2014, 8:31 AM
return DbContext.Master1.Where(c => c.Name.contains(inputName).tolist();
u r working with web service and want to return data through JSON???
dipti prasadPosted Dec 17, 2014, 6:42 AM
My Problem is resolved...thanks a lotttttt....