I am trying to display list of user with image to a radgrid view. I am unable display images since there is error in mapping images. I am using auto mapper to map between the entity and the Dto object. the following is the error i get while
i run the project.
Error mapping types Mapping types: Appointment -> AppointmentDTO MedAlert.Data.Appointment -> MedAlert.DTO.AppointmentDTO Type Map configuration: Appointment -> AppointmentDTO MedAlert.Data.Appointment
-> MedAlert.DTO.AppointmentDTO Property: PatientPicture
How can we convert image to byte array[ ].
Thanks for help in advance.