How do i got about catering for DBNull values in my application.<BR><BR>I have a custom class to hold information about locations.<BR><BR>To create a new location class i use the following<BR><BR>public sub new (strName as string)<BR> m_locationName = strName<BR>End Sub<BR><BR>I get the strName value from a DataReader however if the value from the data reader is null then i get Cast from DBNull to a string is not valid. How do i got about cheking this, do i do it in my custome class or my other class where i create the datareader.<BR><BR>any help is appreciated<BR>Gaz<BR>