且构网

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

如何从GridView保存已删除的行

更新时间:2023-12-04 21:11:04

步骤

1.在从DataBase中删除记录之前,当您运行存储过程或查询时,只需按照以下步骤获取它们:您的条件。

2.将这些提取的记录插入新表格。

3.现在从父/原始表格中删除。



谢谢...
Steps
1. Before deleting the records from DataBase, when you run the store procedure or query, just fetch them according to your conditions.
2. Insert these fetched records to the new table.
3. Now delete from the parent/original table.

Thanks...


在删除行之前,编写一个用于在表中插入所选行的代码。



谢谢
Write a code for inserting the selected rows in a table before deleting the rows.

Thanks