摘要:
--用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 阅读全文