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

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -