how to search data without sql query in windows form?
I have no database connectivity. my data come through API.I have many data so how to search those data without sql query in windows form application?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Aug 22, 2013, 11:18 PM
hi,
here, Are you getting Json String?
if yes than you can use Json Deserializer to Deserialize json object to perticular type of object (may ob list of object)
Please refer
http://james.newtonking.com/projects/json/help/index.html?topic=html/SerializingJSON.htm
once it converted in to any enumerable type than you can directly write where cluase to filter the record.
hope this will help you.
Dipika ShahPosted Aug 22, 2013, 12:55 PM
Hemant SrivastavaPosted Aug 22, 2013, 11:30 AM
http://www.c-sharpcorner.com/UploadFile/0f68f2/using-lambda-expression-over-a-list-in-C-Sharp/
Iftikar HussainPosted Aug 22, 2013, 11:19 AM
In what format your API is returing? Can you provide your code details?
Regards,
Iftikar