Let your database column name: "bn_applied_person_photo" and datatable name dt, then
call the method:
BindApplicantImage((byte[])dt.Rows[0]["bn_applied_person_photo"]);
private void BindApplicantImage(byte[] applicantImage)
{
string base64ImageString = ConvertBytesToBase64(applicantImage);
ImageControlID.ImageUrl = "data:image/jpg;base64," + base64ImageString;
}
public string ConvertBytesToBase64(byte[] imageBytes)
{
return Convert.ToBase64String(imageBytes);
}