I have a problem with dataGrid. In My Silverlight application I need to get all the Features of layer which I select. With the foreach loop when I observe Each feature Attributes have list of key value pairs. my requirement is all the Features that i am getting in the featureset should be displayed in a grid in such a way that the field Names as Column Names and the Values as column Values. That means Simply it should work like a Datagrid which exist in asp.net. The Columns in the Datgrid will be Created Dynamically When the Layer Selected.
I tried with the sample that was given in Silverlight samples By using Binding Object with the Path LastResult.features. But I didn't get Proper Result with this. Please help me.
Forgot to tell. I am using ArcGISDynamicMapservice Layer and the SubLayers were populated in a combobox. All these Things should happen when I select sub layer of Dynamic Map Layerfrom the list.
Anuritha, You need to set AutoGenerateColumns attribute of the FeatureDataGrid to FALSE, then add DataGridColumn collection yourself by using key value pairs in featuresets.