且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将新行添加到数据绑定的datagridView(绑定数据集)

更新时间:2023-10-07 11:05:58

由于已绑定到DataSet,您是否尝试过向DataSet添加一行并编辑DataSet的值?
Since it is bound to a DataSet, have you tried adding a row to the DataSet and editing the values of the DataSet?


尝试将新行添加到已绑定到datagridview的数据表中.请参阅: NewRow [
Try adding a new row to the data table you have binded to your datagridview. See: NewRow[^]