james chan的博客

2018年6月2日

自定义事件-继承表单

摘要: 以下是 基类 Form1 // 委托、事件是 public 和全局的 public delegate void ButtonClickdHandle(object sender, EventArgs e);//定义委托 public event ButtonClickdHandle UserCont 阅读全文

posted @ 2018-06-02 23:55 james chan 阅读(356) 评论(0) 推荐(0) 编辑
sql server存储过程,常用的格式

摘要: BEGINSET NOCOUNT ON;if @_MODE NOT IN ('A','M','D') begin raiserror('参数错误!',16,3); return; end; declare @rowcount int,@error int; if @_MODE='A'begin in 阅读全文

posted @ 2018-06-02 17:18 james chan 阅读(1058) 评论(0) 推荐(1) 编辑