Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Error while using IsDbNull in codebehind


Message #1 by "Adib" <r_adib@h...> on Wed, 15 May 2002 11:47:31
Hey,

 Better once again U make sure that the namespace 'System' is imported to
your
project. Cos IsDBNull() is a static method available in class 'Convert' of
'System'
namespace.

Or, assuming 'System' namespace is imported to your project, try like this:

  Dim conv As New System.Conver()
  If Not conv.IsDBNull(cmdChassisCheck.Parameters( "@longchassis" ).Value)
Then
     blah blah blah.....
  End if

Cheers,
HegdeS


  Return to Index