具有MS Access字段类型的Vb网 [英] Vb net with MS Access field type
本文介绍了具有MS Access字段类型的Vb网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我已经在vbnet中使用访问数据库创建了一个软件,问题是我需要一个字段价格为double才能接受(.)之后的小数,但是datagrid没有显示为double,它被转换为整数,如何解决这个问题吗?
Brs,
samah
Hello,
i have create a software in vbnet with access database, the problem is i need a field price as double to accept the decimal after (.) , but the datagrid didn''t shown as double, it was converted to integer, how to solve this problem?
Brs,
samah
推荐答案
使用cdbl(value)手动将其转换为double
manually convert it to a double using cdbl(value)
这篇关于具有MS Access字段类型的Vb网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文