I want to let the user add cells in a datagrid.

When i add a Row. I want to set the row to the Group.

enter image description here

So the "Add-Row" should be in each group.

Is there some way to realize this?

有帮助吗?

解决方案

While adding the Row, Fill the corresponding field to the group which you need to add the new row..

var row = _dataSet.Tables[tableName].NewRow();
row[columnName] = "group name";
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top