[mapguide-users] Re: Filter fails with Null dates on sdf layer

Mauricio Villablanca mgvillablanca at yahoo.com
Thu Nov 24 07:55:25 EST 2011


You need to check whether the attribute value is null before you can read
attributes from a feature

string Tempstring = "":
boolean boolVal = featureReader.IsNull(propertyName);
if (boolVal) {
   Tempstring = Featreader.GetDateTime(propertyName).ToString();
}


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Filter-fails-with-Null-dates-on-sdf-layer-tp7003793p7028016.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list