What's the idea behind converting values to string (using either object.ToString() or Convert.ToString(object))? Should the resulting string be compatible with the C# or the server-side string representation of the object?
For example, a C# bool is stored in a SqlServer bit column. Should conversion to string result in "0" and "1" or "true" and "false"?
What's the idea behind converting values to string (using either
object.ToString()orConvert.ToString(object))? Should the resulting string be compatible with the C# or the server-side string representation of the object?For example, a C#
boolis stored in a SqlServerbitcolumn. Should conversion to string result in "0" and "1" or "true" and "false"?