Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个数据集:
itemname |categoryname ------------------ item1 | category1 item2 | category1 item3 | category4 item4 | category5 item5 | category1
我想获取项目的类别名称。
您可以设置数据表的过滤器属性,也可以使用 linq 查询或遍历所有行,直到找到包含所需项目的行。