Cannot accept Value 0 in Datagridview using vb.net 2005

Hi

Am using datagridview in vb.net.

When i keen value 0(Zero) in Datgridview row at runtime it raise error: "Value cannot be null"

How can i solve this error.Please can anybody help me.

TIA
Yusuf

Comments

  • : Hi
    :
    : Am using datagridview in vb.net.
    :
    : When i keen value 0(Zero) in Datgridview row at runtime it raise
    : error: "Value cannot be null"
    :
    : How can i solve this error.Please can anybody help me.
    :
    : TIA
    : Yusuf
    :
    :
    Yousaf,
    are you getting the value from Database,
    if yes then write in the sql statement isNull(colValue, 0)
    otherwise please send the code as well
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion