遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2007年8月22日 #

SqlHelper.cs 使用时要注意的地方

摘要: 在使用SqlHelper.cs 编写数据访问层时如果你这样写: SqlHelper.ExecuteScalar(DBH.ConnStr, "UserClass_CheckClassId", Code, ClassID) "UserClass_CheckClassId" 是存储过程名称, 那么你要注意了,这个匿名指定参数调用,在SqlHelper里采用SqlCommandBuilder.Derive... 阅读全文

posted @ 2007-08-22 10:27 遗忘海岸 阅读(958) 评论(1) 推荐(0) 编辑