在构造事件里设置事务对象再插入一行 dw.insertrow(0)
做个按钮之类的,在clicked()事件中写上int il_iif il_i = 1 then il_i = 0 this.text = "隐藏" dw_1.visible = trueelse il_i = il_i + 1 this.text = "显示" dw_1.visible = falseend if