VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Cannot accept Value 0 in Datagridview using vb.net 2005 Posted by mj_yusuf on 18 Aug 2008 at 1:16 AM
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

Report
Re: Cannot accept Value 0 in Datagridview using vb.net 2005 Posted by aamirwazir on 20 Aug 2008 at 7:04 PM
: 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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.