如何以编程方式向我的 WebDataGrid 添加新行

本文关键字:我的 WebDataGrid 添加 新行 方式 编程 | 更新日期: 2023-09-27 18:32:47

如果可能的话,请告诉我在基础设施网络数据网格中单击按钮事件时添加多行。

谢谢

如何以编程方式向我的 WebDataGrid 添加新行

DataGrid.Rows.Add("Value for Column1","Value for Column2","Value for Column3");

你也可以...

DataGrid.Rows[RowIndex].Cells[CelIndex].Value = "Your Value";

仅此而已。