Get dataset Item on Condition using c# -


i have dataset :

itemname |categoryname ------------------ item1    | category1 item2    | category1 item3    | category4 item4    | category5 item5    | category1 

i want category name item.

you can either set filter property of datatable or use linq query or loop through rows until find 1 containing wanted item.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -