asp.net - Check for DbNull in C# -



asp.net - Check for DbNull in C# -

i finding difficulties in validating next

if(personds.person[0].idfk!= dbnull.value)

this compile time error - cannot applied operands of type 'system.guid , 'system.dbnull'

i think should check:

if(personds.person[0].isidfknull())

c# asp.net sql-server

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -