获得异常“标准表达式中的数据类型不匹配". [英] Getting Exception "data type mismatch in criteria expression"

查看:95
本文介绍了获得异常“标准表达式中的数据类型不匹配".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在访问数据库插入过程中....我正在使用vb.net ...我从文本框中插入值来访问数据库,并且每次都收到该异常....插入"(空白字符串)....如果文本框为空....我没有显示代码是保密的...请尽可能帮助我....提前致谢...

during insertion in access DB....I m working with vb.net......I have insert value from text box to access DB and I m getting that exception every time....and I have insert " "(Blank String)....if textbox is empty....I didn''t show the code it is confidential...help me as erly as possible....Thankx in advance...

推荐答案

没有看到任何表结构或代码,我只能告诉您您要插入数据库的值不正确.

这将向我建议您正在尝试将值插入基于数字的列(即数字,小数等).

使用更多信息来更新您的问题,我们将为您提供更多帮助.
Without seeing any table structures or code all I can tell you that the value you are trying to insert into your database is incorrect.

It would suggest to me that you are trying to insert values into a number based column (i.e. number, decimal etc.).

update your question with more information and we will be able to help you more.


这篇关于获得异常“标准表达式中的数据类型不匹配".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆