3
Answers

How to display Image

Ramco Ramco

Ramco Ramco

2y
589
1

Hi

In below code I want to display image but it is not displayed. Image is saved in LMS/Upload/Student/ProfilePic folder

Data in database is - VIV_ST_0003_18_01_2023_15_06_39.png

BALStudents bALStudents = new BALStudents();
StudentDetail Result = bALStudents.GetStudentDetailByLoginID(Convert.ToInt32(hdfStudentID.Value));

if (Result != null)
{
    imgProfile.ImageUrl = Result.ProfilePic;
}

Thanks

Answers (3)