每次绑定到ItemsSource的属性发生更改时,如何配置datagrid来触发事件?
答案 0 :(得分:1)
我刚刚这样做了:
CREATE TEMPORARY TABLE tmptable_1 SELECT * FROM table WHERE primarykey = 1;
UPDATE tmptable_1 SET primarykey = NULL;
INSERT INTO table SELECT * FROM tmptable_1;
DROP TEMPORARY TABLE IF EXISTS tmptable_1;