DavidYun

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年6月23日

摘要: output 输出参数 在C# 中的获取方法新建存储过程create proc Test@ID int,@maxnum int outputasbegindeclare @num intselect id,name,sex from T1 where id = @IDselect @num=max(num) from T2 where id = @IDset @maxnum = @numendgoC#中获取输出参数\ Database _db = DatabaseFactory.CreateDatabase(); DbCommand _cmd =_db.GetStoredProcCommand 阅读全文
posted @ 2013-06-23 10:11 David.Yun 阅读(383) 评论(1) 推荐(0) 编辑