我是新來Visual Studio和我的頭很多東西,但我卡住,可以使用一些幫助。XML xpath視覺工作室
我需要創建綁定到XML文檔中的字段的下拉列表。我已經嘗試配置數據源並添加xpath表達式,但沒有顯示出來,我不知道我在做什麼錯誤。
這是從文件中提取的,並說我想要任何字段,即PropertyId
?
<PropertyDatabase>
<imageList>
<Images>
<ImageId>2</ImageId>
<PropertyId>60</PropertyId>
<ThumbUrl>propertyImages/propertyThumb60_8.jpg</ThumbUrl>
<MainUrl>propertyImages/propertyLarge60_8.jpg</MainUrl>
<Active />
</Images>
<Images>
<ImageId>3</ImageId>
<PropertyId>22</PropertyId>
<ThumbUrl>propertyImages/propertyThumb22_1.jpg</ThumbUrl>
<MainUrl>propertyImages/propertyLarge22_1.jpg</MainUrl>
<Active />
</Images>
燦你請顯示你使用的代碼? – 2011-04-21 19:23:27