I’m trying to build out a C# web app that has an input screen. Some of the fields are Qty fields. What could I use as a database type to be able to record a numerical value and how would I write it in my code? Currently using Nchar which records the value but when I try to do some basic adding of Qty1 + Qty2 for example, it doesn’t seem to return a value. This is what I currently have:
nonqueryCommand.Parameters.Add("@Qty1", System.Data.SqlDbType.NChar, 10);
Ive tried numeric and float but they give me something about converting string to int32 errors.

Thanks for the insight.
you can use int type