Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/271.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 什么是'';尺寸'';参数大小单位,在设置参数方法中?_C#_Mysql - Fatal编程技术网

C# 什么是'';尺寸'';参数大小单位,在设置参数方法中?

C# 什么是'';尺寸'';参数大小单位,在设置参数方法中?,c#,mysql,C#,Mysql,我想知道如果是那种类型的 DB.adSmallInt 和 尺寸=2 尺寸是多少 2字节? 或 2比特? 将在哪个单元中进行配置 将忽略size参数,因为adSmallInt的大小为两个字节, 并且正在SQL server端转换为smallint。可能会忽略size参数,因为adSmallInt的大小为两个字节。 `parameter = command.CreateParameter ("Num",DB.adSmallInt, DB.adParamInput,2, anyValue)`

我想知道如果是那种类型的

DB.adSmallInt

尺寸=2

尺寸是多少 2字节? 或 2比特?
将在哪个单元中进行配置

将忽略size参数,因为adSmallInt的大小为两个字节,
并且正在SQL server端转换为smallint。

可能会忽略
size
参数,因为adSmallInt的大小为两个字节。
`parameter = command.CreateParameter ("Num",DB.adSmallInt,  DB.adParamInput,2, anyValue)`