UWP BitmapImage SetSource from MemoryStream hangs

后端 未结 4 945
春和景丽
春和景丽 2021-01-19 18:39

In my UWP app i store images in an SQLite db in form of byte[]. Then as i retrieve my objects from the db i bind them to a GridView data template which has an Image control.

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-19 19:14

    Why not to use Base64? Save Base64 Image in sqlite database column and bind it to Image control easily.

    
    

    it is much easier to bind image inside Gridview from sqlite db.

提交回复
热议问题