摘要:
1、获取Return返回值1 create procedure mySql2 @a int,3 @b int4 as5 return @a+@b6 go 1 SqlConnection conn=new SqlConnection(ConfigurationManager.ConnectioniString["localServer"].ToString()); 2 conn.Open(); 3 SqlCommand cmd=new SqlCommand("mySql",conn); 4 cmd.CommandType=CommandType.Store 阅读全文