Limited maximum precision of a decimal variable

The ASE ADO.NET Data Provider currently supports a maximum precision of 26 numbers for a decimal type. The underlying .NET structure and the corresponding Adaptive Server datatypes can handle a higher precision, and attempting to use a precision higher than 26 results is an exception. The Adaptive Server datatypes affected by this limitation are decimal and numeric.