摘要:
create proc p_test@total int =1 outputasbegin if(@total=1) begin return end select * from test where uid=@totalendSqlDataAdapter sda = new SqlDataAdapter("p_test", conn); sda.SelectCommand.CommandType = CommandType.StoredProcedure; SqlParameter pTotal = new SqlParameter("@total", 阅读全文