How to upload image in listview that has been saved in sqlite

some1some1 Member ✭✭✭

i want to show image like this in listview which is stored in sqlite.

i have saved image in byte[] in one form. How will i show image in listview in another form.

` public class PRODUCT_CAT : INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
[PrimaryKey, AutoIncrement]
public byte[] _img { get; set; }

          public byte[] Image
        get { return _img; }
            if (_img == value)

            _img = value;

    private void OnPropertyChanged([CallerMemberName] string propertyName = null)
        PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));

in form1, i will upload image and save it as byte[] in PRODUCT_CAT .
Now in form2, in listview i want to display this image.


Sign In or Register to comment.