为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: 8.4
【操作系统】:windows11
【CPU】:
【问题描述】*:使用 DmCommand cmd = new DmCommand();类的ExecuteReader 执行sql语句报错如下
Dm.DmException:“无效的数字”
SQL语句
SELECT MiracleElementsItemUserDefineId,
MiracleElementsItemId,
MiracleItemId,
LabelName,
LabelTDClass,
ControlTDClass,
ControlClientID,
ControlClass,
MiracleControlPropertyId,
MiracleControlTypesId,
IsUse,
IsRequired,
RegularValidator,
CustomValidator,
ValidationGroup,
CombineNumber,
ControlMaxlength,
RelationItemName,
PositionNum,
OnClientChange,
DefaultValue,
AreaName,
IsSystem,
RenderName,
ErrorMessage,
ToolTip,
LabelClientID,
LabelTip,
ControlTip,
ControlTDClientID,
CombineRowNumber,
StretchType,
CanEditDefaultValue,
IsSpecial,
InitName,
IsReadonly,
LabelBold,
ControlBold,
LabelBackColor,
LabelTextColor,
ControlBackColor,
ControlTextColor,
ProductType,
ColumnCount,
MiracleItemClassId,
MiracleItemClassValue,
IsPrint,
GroupForceCompanyIds,
LinkageEvent,
GroupForceType,
GroupRelationSubField,
GroupRelationSubRenderName,
MiracleElementsPageSetId
FROM MiracleElementsItemUserDefine
WHERE MiracleElementsItemUserDefineId = :MiracleElementsItemUserDefineId
怀疑是参数的问题
但是参数也看不出来有什么不对的!
MiracleElementsItemUserDefineId字段是 BIGINT类型
驱动是8.4安装包内部的45驱动
哪里出了问题?
