摘要:
存储过程out传值时 SqlParameter[] paramters = { new SqlParameter("@SerialNumber", SqlDbType.VarChar, 20) }; paramters[0].Value = null; paramters[0].Direction = ParameterDirection.Output; mydbh.RunProcedureVoid("P_GetSerialNumber", paramters); return paramters[0].Value.ToString();在SQL Ser 阅读全文