Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Cannot accept Value 0 in Datagridview using vb.net 2005

mj_yusufmj_yusuf Posts: 1Member
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

  • aamirwaziraamirwazir Posts: 108Member
    : 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.