以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  关于新增行的问题  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=49054)

--  作者:9EQ98
--  发布时间:2014/4/11 13:35:00
--  关于新增行的问题

在表的BeforeAddDataRow事件中,增加多行记录时,只执行一次

\' BeforeAddDataRow 增加一行之前执行 【开始】
例如:设计一个提问,选是新增,选否,不增加.每增加一行数据,提示一次,如何实现


--  作者:lsy
--  发布时间:2014/4/11 13:59:00
--  
If MessageBox.Show("是否新增一行?","提示",MessageBoxButtons.YesNo,MessageBoxIcon.Question) = DialogResult.No Then
    e.Cancel = True
End If