sql类似如下,不需要使用return 语句,SQL语句的ConnectionType必须是“ADO.NET” select @proID=fieldValue from table1 where proName=@PJ_Name 参数映射: 方向需要设置成“Output” 相关文章: