1
Vote

Where query issue

description

How to data from 6 different columns in json object where the string string value equal. I m using blow code:

var myList = [{"Population": "1", "Province": "1", "SEC": "SEC - B", "Age": "25-29", "Education": "Illiterate", "Occupation": "House wife"},{"Population": "1", "Province": "1", "SEC": "SEC - B", "Age": "30-25", "Education": "Illiterate", "Occupation": "House wife"},{"Population": "2", "Province": "4", "SEC": "SEC - B", "Age": "25-29", "Education": "MBA", "Occupation": "House wife"}]

var list01 = JSLINQ(myList).Where(function(item){ return item.Province == ddlProvince && item.Gender == ddlGender});

no data.

Pls help me to get data.

comments