map get disappear

Dec 12, 2011 at 7:02 AM
Edited Dec 12, 2011 at 7:04 AM

map get disappear when trying to load distinct colour for different parts in a layer...and  also show null value in legend even there is data on datatable   how to solve this....

my code is as

                 Dim scheme As New PolygonScheme
                scheme.EditorSettings.ClassificationType = ClassificationType.UniqueValues
                scheme.EditorSettings.FieldName = "zone_name" // zone_name is column name from datatable...
                stat.Symbology = scheme