I am using AsyncFileUpload.My project has three tier architecture.
I am storing image name in database and storing image in folder on the server.
I am following 3 tier architecture.
In my code
MyEmployee oEmployee = new MyEmployee();
oEmployee.ImageName = Convert.ToString(AsyncFileUpload1.FileName);
public string ImageName
_imageName = value;
Then in datalayer I am accessing this property
sqlParams = DBDataHandler.GetSqlParameter("@Photo", objEmployee.ImageName, SqlDbType.VarChar);
But I am confused,how should I upload the image in the folder on server?
How do I follow this technique.
Your help is really appreciated.
Thanks in advance.