Author

Ahmed Samir

Evry1falls is my online name

VB 2010 with MS Access 2010 Error Conversion from type 'DBNull' to type 'String' is not valid.

VB 2010 with MS Access 2010 Error Conversion from type 'DBNull' to type 'String' is not valid. 5 of 5

Error Conversion from type 'DBNull' to type 'String' is not valid.

vb.net Error Conversion from type 'DBNull' to type 'String' is not valid.
vb.net Conversion from type 'DBNull' to type 'String' is not valid.

Error :

Conversion from type 'DBNull' to type 'String' is not valid.

Cause :

Trying to Fetch Data From empty database table field, where database table field doesn't have any data 'null'.

Solution :


According to StackOverFlow, you may also try this solution instead, which also work fine but you need to determine at which end your problem exists "The application" or "The Database table", because you can workaround your this problem "DBNull" from Database table or from Visual Basic .Net.


Here are some online Visual Basic lessons and courses :

Comment Via facebook

Popular posts from this blog

Visual Basic Online Course DevExpress 12.2.4 full for Visual Studio 2010

Visual Basic Online Course - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine

VB .NET Google Drive Api Source Code Example

Visual Basic Compare Two Treeviews and return differences

Visual Basic Online Course - SQL Server