Here I am trying to upload a photo.
Code:
protected void LoadImage() {
string UserName = Session["UserName"].ToString();
byte[] Data = Profile.GetImageData(UserName); //Stmt Correct where profile is class
if (Data != null)
{
MemoryStream stream = new MemoryStream(Data);
Leave a comment: