摘要: 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 阅读全文
posted @ 2012-03-08 09:53 Viky 阅读(451) 评论(3) 推荐(0) 编辑