Web Forms Question:

How to upload a file on web forms?

Tweet Share WhatsApp

Answer:

if (FileUpLoad1.HasFile)
{
FileUpLoad1.SaveAs(Server.MapPath("upload")+ "\\" + FileUpLoad1.FileName);
}

Download Microsoft Web Forms PDF Read All 11 Microsoft Web Forms Questions
Previous QuestionNext Question
How to use Server.Transfer in dot net?How to upload an image files only in .net web forms?