如何在wpf中向datagrid中添加新行? [英] How to add new row into datagrid in wpf?
本文介绍了如何在wpf中向datagrid中添加新行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在点击按钮时添加新行
int add = dataGrid1.Items.Add(new DataGrid());
以及如何将文本框值传递给datagrid在wpf?
Me add new row on button click by
int add = dataGrid1.Items.Add(new DataGrid());
And how to pass textboxs value into datagrid in wpf?
推荐答案
嘿,请阅读本文,
如何向WPF数据网格添加行 [ ^ ]
Hey please read this,
how to add rows to WPF datagrids[^]
这篇关于如何在wpf中向datagrid中添加新行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文