Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前有 Gridview1,它从数据库中获取数据并显示人员列表。我还有一个 Gridview2,它最初是空白的。我想添加从 gridview1 向 gridview2 添加/删除行的功能。我在 gridview1 中添加了一个复选框列,以允许用户选择他们想要移动的记录。我还添加了两个按钮 >> 和 <<。有没有人有我如何从 Gridview1 添加/删除选定记录到 Gridview2 的示例?
提前致谢!
Gridview2.rows.add(Gridview1.rows[INDEXTOMOVE]);