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.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to