摘要: --用ParameterDirection.ReturnValue; 返回值CREATE PROCEDURE dbo.a ASdeclare @i intselect @i=count(*) from tbD_M_Modlereturn @iGO--用ParameterDirection.Output; 参数返回值CREATE PROCEDURE dbo.a @i int outputASselect @i=count(*) from tbD_M_Modlereturn @iGO//SqlCommand cmd = new SqlCommand("a", myConn);c 阅读全文
posted @ 2012-02-11 22:38 踏踏实实干 阅读(865) 评论(0) 推荐(0) 编辑