I have binary data in my SQL Server, I want to read that binary data and display in browser as this binary data is a PDF file - how can this be done?
Here is my database structure:
I am retrieving other data from database successfully as shown in this screenshot:
What I want is when user click on view button, binary data from database should read and display new webview
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Orientation="Horizontal" Padding="12,6">
<Label Text="{Binding ReportName}" FontSize="24"
Style="{DynamicResource ListItemTextStyle}" />
<Label Text="{Binding Date}" FontSize="18" Opacity="0.6"
Style="{DynamicResource ListItemDetailTextStyle}"/>
<Button Clicked="ShowPDF" Text="View" CommandParameter="{Binding FileContent}"></Button>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>