I\'m trying to get output value from DB via ADO.NET. There\'s a client code:
using (var connection = new SqlConnection(ConnectionString)) {
Incidentally, setting the size property of an output parameter is necessary even if it isn't a string-type parameter. For example, if you are using a System.Data.SqlDbType.Int, you should set the size to be 4.