Hi,
Here 'm proving some code for storing any file in server side using c#
if(FileUpload1.HasFile)
{
string ext=Path.GetExtension(FileUpload1.FileName);
if (ext == ".jpg" || ext == "png")
{
FileUpload1.saveas(server.Mappath("~/Images")+"/"+FileUpload1.FileName);
}
}
By using above code you can save any file in Images folder.You can add another file extenssions also.
And retrieving process is also same as storing.
code is
Image1.ImageUrl=Server.MapPath("~/Images/"+filename);
In the above code you can give image name as filename whatever you want to retrieve.
All the Best