Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Insert image into sql server, and select from datab se with wpf C# ado.net data model (entity framework)

$
0
0

I'm developing an app that needs to save an image from image control into database for a record, the image must be part of the description of a product or something similar, and call it from database into image control. Which datatype is better to use, image or varbinary? please give samples and explanations. It would be better if the browse button and save button will be separated. Please don't give examples with ado.net command, but with Linq to EF, also not Linq to Sql. The image should be called (showed) into datagrid as part of description.

Thank you guys


Viewing all articles
Browse latest Browse all 18858


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>