问题描述
我有一个表,其中包含具有相同值(除一个以外)的多行.
例如
Sn ------ memberid ----- name ------角色
1 ..... 12 ... ...... ... subash ...... admin
2 ........ .. 12 ......... subash ......成员
3 .......... 12 ....... .. subash ......会计师
在datagridview中,我想将此数据显示为
Sn ------ member-id ----- name ------角色
1 ...... 12 ...... subash ...... admin,member,accountant
任何帮助或提示,我们将不胜感激.
在此先感谢:)
i have a table which consist multiple rows with same values except one.
for e.g.
Sn------memberid-----name------ role
1 .......... 12 ...... ... subash ...... admin
2 ........ .. 12 ...... ... subash ...... member
3 ......... . 12 ....... .. subash ...... accountant
in datagridview i want to show this data as
Sn------member-id-----name------ role
1 ...... 12 ...... subash ...... admin,member,accountant
any help or hints would be appreciated.
thanks in advance :)
推荐答案
这篇关于如何将只有一个不同字段的两行连接在一起.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!