簡體   English   中英

在Silverlight中從數據庫檢索數據

[英]Retrieving data from database in silverlight

我需要顯示數據庫中的數據

    <StackPanel Orientation="Horizontal">
<TextBlock Text="TopAggregate:" FontWeight="Bold" Foreground="#FF0F274E" Height="25" Width="80" FontSize="10" VerticalAlignment="Center"/>
<TextBlock Text="{Binding Converter={StaticResource MyDictionaryConverter}, ConverterParameter=, Mode=OneWay}"  FontWeight="Bold" Foreground="#FF0F274E" Height="25" Width="240" FontSize="10" VerticalAlignment="Center"></TextBlock>
    </StackPanel>

這些是我實現此目標的唯一途徑,我只需要知道轉換器參數應該是什么?

轉換器參數應該是要檢索的數據表中的列名

問題出在表的列名上。 你去

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM