Select to view content in your preferred language

Passing a field value to an outside database.

1659
12
12-06-2010 07:51 AM
NathalieNeagle
Regular Contributor
I'm green to programming and silverlight and I have started created an application, which I'm almost finished.  But the most important tool/feature of the applicaiton is the one I'm having the most trouble with.

I have a parcel layer, which has a unique field (identifier number) the main part of this applicaiton is quering the parcel by using an Attribute query (similar to the SDK exmaple http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery but not a drop down list just a text box enter) and the spatial query tool (http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery) to select parcels.

So basically there is an outside data base with extra information about the parcles (the common key primary/secondary) is the identifier number/field.  I'm wondering if there is an example or someone has some code/information they can share about how to grab a field record value and pass it to an outside database.
0 Kudos
12 Replies
NathalieNeagle
Regular Contributor
Jennifer,

I can't pass anyting...at this point I'm just trying to pass plain text just to make sure the FeatureDataGrid_SelectionChanged event is firing.  Is there a way to check this?  I doubting the the event is automatically invoked when I click on a new row/field in the table.  That is how it should work right?
0 Kudos
JenniferNery
Esri Regular Contributor
Did you subscribe to FeatureDataGrid's SelectionChanged event? Sorry, had to ask. When you select a row, the event handler code should be hit. Place a breakpoint there to be sure. You do see rows of FDG populated, right?
 
   <esri:FeatureDataGrid SelectionChanged=" FeatureDataGrid_SelectionChanged"
    Map="{Binding ElementName=MyMap}"
    GraphicsLayer="{Binding ElementName=MyMap, Path=Layers.[MySelectionGraphicsLayer]}" />
0 Kudos
NathalieNeagle
Regular Contributor
Jennifer THANK YOU THANK YOU.......UGG 😛 that was totally it I knew I wasn't invoking or subscribing to FeatureDataGrid's SelectionChanged event.

Thanks for sticking with me.
0 Kudos